Class InstanceAgentCommandExecution.Builder
- java.lang.Object
- 
- com.oracle.bmc.computeinstanceagent.model.InstanceAgentCommandExecution.Builder
 
- 
- Enclosing class:
- InstanceAgentCommandExecution
 
 public static class InstanceAgentCommandExecution.Builder extends Object 
- 
- 
Constructor SummaryConstructors Constructor Description Builder()
 - 
Method Summary
 
- 
- 
- 
Method Detail- 
instanceAgentCommandIdpublic InstanceAgentCommandExecution.Builder instanceAgentCommandId(String instanceAgentCommandId) The OCID of the command- Parameters:
- instanceAgentCommandId- the value to set
- Returns:
- this builder
 
 - 
instanceIdpublic InstanceAgentCommandExecution.Builder instanceId(String instanceId) The OCID of the instance- Parameters:
- instanceId- the value to set
- Returns:
- this builder
 
 - 
deliveryStatepublic InstanceAgentCommandExecution.Builder deliveryState(InstanceAgentCommandExecution.DeliveryState deliveryState) Specifies the command delivery state.- VISIBLE - The command is visible to instance. * PENDING - The command is pending ack from the instance. * ACKED - The command has been received and acked by the instance. * ACKED_CANCELED - The canceled command has been received and acked by the instance. * EXPIRED - The instance has not requested for commands and its delivery has expired.
 - Parameters:
- deliveryState- the value to set
- Returns:
- this builder
 
 - 
lifecycleStatepublic InstanceAgentCommandExecution.Builder lifecycleState(InstanceAgentCommandExecution.LifecycleState lifecycleState) command execution life cycle state.- ACCEPTED - The command execution has been accepted to run. * IN_PROGRESS - The command execution is in progress. * SUCCEEDED - The command execution is successful. * FAILED - The command execution has failed. * TIMED_OUT - The command execution has timedout. * CANCELED - The command execution has canceled.
 - Parameters:
- lifecycleState- the value to set
- Returns:
- this builder
 
 - 
timeCreatedpublic InstanceAgentCommandExecution.Builder timeCreated(Date timeCreated) The command creation date- Parameters:
- timeCreated- the value to set
- Returns:
- this builder
 
 - 
timeUpdatedpublic InstanceAgentCommandExecution.Builder timeUpdated(Date timeUpdated) The command last updated at date.- Parameters:
- timeUpdated- the value to set
- Returns:
- this builder
 
 - 
sequenceNumberpublic InstanceAgentCommandExecution.Builder sequenceNumber(Long sequenceNumber) The large non-consecutive number that Run Command Service assigns to each created command.- Parameters:
- sequenceNumber- the value to set
- Returns:
- this builder
 
 - 
displayNamepublic InstanceAgentCommandExecution.Builder displayName(String displayName) The user friendly display name of the command.- Parameters:
- displayName- the value to set
- Returns:
- this builder
 
 - 
contentpublic InstanceAgentCommandExecution.Builder content(InstanceAgentCommandExecutionOutputContent content) 
 - 
buildpublic InstanceAgentCommandExecution build() 
 - 
copypublic InstanceAgentCommandExecution.Builder copy(InstanceAgentCommandExecution model) 
 
- 
 
-