Class CreateInstanceAgentCommandDetails.Builder
- java.lang.Object
- 
- com.oracle.bmc.computeinstanceagent.model.CreateInstanceAgentCommandDetails.Builder
 
- 
- Enclosing class:
- CreateInstanceAgentCommandDetails
 
 public static class CreateInstanceAgentCommandDetails.Builder extends Object 
- 
- 
Constructor SummaryConstructors Constructor Description Builder()
 - 
Method SummaryAll Methods Instance Methods Concrete Methods Modifier and Type Method Description CreateInstanceAgentCommandDetailsbuild()CreateInstanceAgentCommandDetails.BuildercompartmentId(String compartmentId)The OCID of the compartment to create the command in.CreateInstanceAgentCommandDetails.Buildercontent(InstanceAgentCommandContent content)The contents of the command.CreateInstanceAgentCommandDetails.Buildercopy(CreateInstanceAgentCommandDetails model)CreateInstanceAgentCommandDetails.BuilderdisplayName(String displayName)A user-friendly name for the command.CreateInstanceAgentCommandDetails.BuilderexecutionTimeOutInSeconds(Integer executionTimeOutInSeconds)The amount of time that Oracle Cloud Agent is given to run the command on the instance before timing out.CreateInstanceAgentCommandDetails.Buildertarget(InstanceAgentCommandTarget target)The target instance to run the command on.
 
- 
- 
- 
Method Detail- 
compartmentIdpublic CreateInstanceAgentCommandDetails.Builder compartmentId(String compartmentId) The OCID of the compartment to create the command in.- Parameters:
- compartmentId- the value to set
- Returns:
- this builder
 
 - 
executionTimeOutInSecondspublic 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. - Parameters:
- executionTimeOutInSeconds- the value to set
- Returns:
- this builder
 
 - 
displayNamepublic 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 - Parameters:
- displayName- the value to set
- Returns:
- this builder
 
 - 
targetpublic CreateInstanceAgentCommandDetails.Builder target(InstanceAgentCommandTarget target) The target instance to run the command on.- Parameters:
- target- the value to set
- Returns:
- this builder
 
 - 
contentpublic CreateInstanceAgentCommandDetails.Builder content(InstanceAgentCommandContent content) The contents of the command.- Parameters:
- content- the value to set
- Returns:
- this builder
 
 - 
buildpublic CreateInstanceAgentCommandDetails build() 
 - 
copypublic CreateInstanceAgentCommandDetails.Builder copy(CreateInstanceAgentCommandDetails model) 
 
- 
 
-