public static class InstanceAgentCommandExecutionSummary.Builder extends Object
Constructor and Description |
---|
Builder() |
public InstanceAgentCommandExecutionSummary.Builder instanceAgentCommandId(String instanceAgentCommandId)
The OCID of the command.
instanceAgentCommandId
- the value to setpublic InstanceAgentCommandExecutionSummary.Builder instanceId(String instanceId)
The OCID of the instance.
instanceId
- the value to setpublic InstanceAgentCommandExecutionSummary.Builder deliveryState(InstanceAgentCommandExecutionSummary.DeliveryState deliveryState)
The command delivery state.
VISIBLE
- The command is visible to the instance.PENDING
- The command is pending acknowledgment from the instance.ACKED
- The command has been received and acknowledged by the instance.ACKED_CANCELED
- The canceled command has been received and acknowledged by the instance.EXPIRED
- The instance has not requested for commands and the command’s delivery has expired.deliveryState
- the value to setpublic InstanceAgentCommandExecutionSummary.Builder lifecycleState(InstanceAgentCommandExecutionSummary.LifecycleState lifecycleState)
The command execution lifecycle state.
ACCEPTED
- The command has been accepted to run.IN_PROGRESS
- The command is in progress.SUCCEEDED
- The command was successfully executed.FAILED
- The command failed to execute.TIMED_OUT
- The command execution timed out.CANCELED
- The command execution was canceled.lifecycleState
- the value to setpublic InstanceAgentCommandExecutionSummary.Builder timeCreated(Date timeCreated)
The date and time the command was created, in the format defined by RFC3339.
timeCreated
- the value to setpublic InstanceAgentCommandExecutionSummary.Builder timeUpdated(Date timeUpdated)
The date and time the command was last updated, in the format defined by RFC3339.
timeUpdated
- the value to setpublic InstanceAgentCommandExecutionSummary.Builder sequenceNumber(Long sequenceNumber)
A large, non-consecutive number that Oracle Cloud Agent assigns to each created command.
sequenceNumber
- the value to setpublic InstanceAgentCommandExecutionSummary.Builder displayName(String displayName)
A user-friendly name. Does not have to be unique.
displayName
- the value to setpublic InstanceAgentCommandExecutionSummary.Builder content(InstanceAgentCommandExecutionOutputContent content)
The execution output from a command.
content
- the value to setpublic InstanceAgentCommandExecutionSummary build()
public InstanceAgentCommandExecutionSummary.Builder copy(InstanceAgentCommandExecutionSummary o)
Copyright © 2016–2022. All rights reserved.