Class InstanceAgentCommandExecutionSummary.Builder
- java.lang.Object
-
- com.oracle.bmc.computeinstanceagent.model.InstanceAgentCommandExecutionSummary.Builder
-
- Enclosing class:
- InstanceAgentCommandExecutionSummary
public static class InstanceAgentCommandExecutionSummary.Builder extends Object
-
-
Constructor Summary
Constructors Constructor Description Builder()
-
Method Summary
-
-
-
Method Detail
-
instanceAgentCommandId
public InstanceAgentCommandExecutionSummary.Builder instanceAgentCommandId(String instanceAgentCommandId)
The OCID of the command.- Parameters:
instanceAgentCommandId
- the value to set- Returns:
- this builder
-
instanceId
public InstanceAgentCommandExecutionSummary.Builder instanceId(String instanceId)
The OCID of the instance.- Parameters:
instanceId
- the value to set- Returns:
- this builder
-
deliveryState
public 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.
- Parameters:
deliveryState
- the value to set- Returns:
- this builder
-
lifecycleState
public 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.
- Parameters:
lifecycleState
- the value to set- Returns:
- this builder
-
timeCreated
public InstanceAgentCommandExecutionSummary.Builder timeCreated(Date timeCreated)
The date and time the command was created, in the format defined by RFC3339.- Parameters:
timeCreated
- the value to set- Returns:
- this builder
-
timeUpdated
public InstanceAgentCommandExecutionSummary.Builder timeUpdated(Date timeUpdated)
The date and time the command was last updated, in the format defined by RFC3339.- Parameters:
timeUpdated
- the value to set- Returns:
- this builder
-
sequenceNumber
public InstanceAgentCommandExecutionSummary.Builder sequenceNumber(Long sequenceNumber)
A large, non-consecutive number that Oracle Cloud Agent assigns to each created command.- Parameters:
sequenceNumber
- the value to set- Returns:
- this builder
-
displayName
public InstanceAgentCommandExecutionSummary.Builder displayName(String displayName)
A user-friendly name.Does not have to be unique.
- Parameters:
displayName
- the value to set- Returns:
- this builder
-
content
public InstanceAgentCommandExecutionSummary.Builder content(InstanceAgentCommandExecutionOutputContent content)
The execution output from a command.- Parameters:
content
- the value to set- Returns:
- this builder
-
build
public InstanceAgentCommandExecutionSummary build()
-
copy
public InstanceAgentCommandExecutionSummary.Builder copy(InstanceAgentCommandExecutionSummary model)
-
-