public static class CreateInstanceAgentCommandDetails.Builder extends Object
Constructor and Description |
---|
Builder() |
Modifier and Type | Method and Description |
---|---|
CreateInstanceAgentCommandDetails |
build() |
CreateInstanceAgentCommandDetails.Builder |
compartmentId(String compartmentId)
The OCID of the
compartment to create the command in.
|
CreateInstanceAgentCommandDetails.Builder |
content(InstanceAgentCommandContent content)
The contents of the command.
|
CreateInstanceAgentCommandDetails.Builder |
copy(CreateInstanceAgentCommandDetails model) |
CreateInstanceAgentCommandDetails.Builder |
displayName(String displayName)
A user-friendly name for the command.
|
CreateInstanceAgentCommandDetails.Builder |
executionTimeOutInSeconds(Integer executionTimeOutInSeconds)
The amount of time that Oracle Cloud Agent is given to run the command on the instance
before timing out.
|
CreateInstanceAgentCommandDetails.Builder |
target(InstanceAgentCommandTarget target)
The target instance to run the command on.
|
public CreateInstanceAgentCommandDetails.Builder compartmentId(String compartmentId)
The OCID of the compartment to create the command in.
compartmentId
- the value to setpublic CreateInstanceAgentCommandDetails.Builder executionTimeOutInSeconds(Integer executionTimeOutInSeconds)
The amount of time that Oracle Cloud Agent is given to run the command on the instance before timing out. The timer starts when Oracle Cloud Agent starts the command. Zero means no timeout.
executionTimeOutInSeconds
- the value to setpublic CreateInstanceAgentCommandDetails.Builder displayName(String displayName)
A user-friendly name for the command. It does not have to be unique. Avoid entering confidential information.
Example: Database Backup Script
displayName
- the value to setpublic CreateInstanceAgentCommandDetails.Builder target(InstanceAgentCommandTarget target)
The target instance to run the command on.
target
- the value to setpublic CreateInstanceAgentCommandDetails.Builder content(InstanceAgentCommandContent content)
The contents of the command.
content
- the value to setpublic CreateInstanceAgentCommandDetails build()
public CreateInstanceAgentCommandDetails.Builder copy(CreateInstanceAgentCommandDetails model)
Copyright © 2016–2024. All rights reserved.