@Generated(value="OracleSDKGenerator", comments="API Version: 20180530") public final class InstanceAgentCommandExecution extends Object
A command’s execution summary.
Note: Objects should always be created or deserialized using the InstanceAgentCommandExecution.Builder
. This model distinguishes fields
that are null
because they are unset from fields that are explicitly set to null
. This is done in
the setter methods of the InstanceAgentCommandExecution.Builder
, which maintain a set of all explicitly set fields called
__explicitlySet__
. The hashCode()
and equals(Object)
methods are implemented to take
__explicitlySet__
into account. The constructor, on the other hand, does not set __explicitlySet__
(since the constructor cannot distinguish explicit null
from unset null
).
Modifier and Type | Class and Description |
---|---|
static class |
InstanceAgentCommandExecution.Builder |
static class |
InstanceAgentCommandExecution.DeliveryState
Specifies the command delivery state.
|
static class |
InstanceAgentCommandExecution.LifecycleState
command execution life cycle state.
|
Constructor and Description |
---|
InstanceAgentCommandExecution(String instanceAgentCommandId,
String instanceId,
InstanceAgentCommandExecution.DeliveryState deliveryState,
InstanceAgentCommandExecution.LifecycleState lifecycleState,
Date timeCreated,
Date timeUpdated,
Long sequenceNumber,
String displayName,
InstanceAgentCommandExecutionOutputContent content)
Deprecated.
|
Modifier and Type | Method and Description |
---|---|
static InstanceAgentCommandExecution.Builder |
builder()
Create a new builder.
|
boolean |
equals(Object o) |
Set<String> |
get__explicitlySet__() |
InstanceAgentCommandExecutionOutputContent |
getContent() |
InstanceAgentCommandExecution.DeliveryState |
getDeliveryState()
Specifies the command delivery state.
|
String |
getDisplayName()
The user friendly display name of the command.
|
String |
getInstanceAgentCommandId()
The OCID of the command
|
String |
getInstanceId()
The OCID of the instance
|
InstanceAgentCommandExecution.LifecycleState |
getLifecycleState()
command execution life cycle state.
|
Long |
getSequenceNumber()
The large non-consecutive number that Run Command Service assigns to each created command.
|
Date |
getTimeCreated()
The command creation date
|
Date |
getTimeUpdated()
The command last updated at date.
|
int |
hashCode() |
InstanceAgentCommandExecution.Builder |
toBuilder() |
String |
toString() |
@Deprecated @ConstructorProperties(value={"instanceAgentCommandId","instanceId","deliveryState","lifecycleState","timeCreated","timeUpdated","sequenceNumber","displayName","content"}) public InstanceAgentCommandExecution(String instanceAgentCommandId, String instanceId, InstanceAgentCommandExecution.DeliveryState deliveryState, InstanceAgentCommandExecution.LifecycleState lifecycleState, Date timeCreated, Date timeUpdated, Long sequenceNumber, String displayName, InstanceAgentCommandExecutionOutputContent content)
public static InstanceAgentCommandExecution.Builder builder()
Create a new builder.
public InstanceAgentCommandExecution.Builder toBuilder()
public String getInstanceAgentCommandId()
The OCID of the command
public String getInstanceId()
The OCID of the instance
public InstanceAgentCommandExecution.DeliveryState getDeliveryState()
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.public InstanceAgentCommandExecution.LifecycleState getLifecycleState()
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.public Date getTimeCreated()
The command creation date
public Date getTimeUpdated()
The command last updated at date.
public Long getSequenceNumber()
The large non-consecutive number that Run Command Service assigns to each created command.
public String getDisplayName()
The user friendly display name of the command.
public InstanceAgentCommandExecutionOutputContent getContent()
Copyright © 2016–2022. All rights reserved.