public static class InstanceAgentCommandExecution.Builder extends Object
Constructor and Description |
---|
Builder() |
public InstanceAgentCommandExecution.Builder instanceAgentCommandId(String instanceAgentCommandId)
The OCID of the command
instanceAgentCommandId
- the value to setpublic InstanceAgentCommandExecution.Builder instanceId(String instanceId)
The OCID of the instance
instanceId
- the value to setpublic 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.deliveryState
- the value to setpublic 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.lifecycleState
- the value to setpublic InstanceAgentCommandExecution.Builder timeCreated(Date timeCreated)
The command creation date
timeCreated
- the value to setpublic InstanceAgentCommandExecution.Builder timeUpdated(Date timeUpdated)
The command last updated at date.
timeUpdated
- the value to setpublic InstanceAgentCommandExecution.Builder sequenceNumber(Long sequenceNumber)
The large non-consecutive number that Run Command Service assigns to each created command.
sequenceNumber
- the value to setpublic InstanceAgentCommandExecution.Builder displayName(String displayName)
The user friendly display name of the command.
displayName
- the value to setpublic InstanceAgentCommandExecution.Builder content(InstanceAgentCommandExecutionOutputContent content)
public InstanceAgentCommandExecution build()
public InstanceAgentCommandExecution.Builder copy(InstanceAgentCommandExecution o)
Copyright © 2016–2022. All rights reserved.