@Generated(value="OracleSDKGenerator", comments="API Version: 20180530") public final class InstanceAgentCommandExecution extends com.oracle.bmc.http.client.internal.ExplicitlySetBmcModel
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 InstanceAgentCommandExecution.Builder.__explicitlySet__
. The hashCode()
and equals(Object)
methods are implemented to take the explicitly set
fields into account. The constructor, on the other hand, does not take the explicitly set fields
into account (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.
|
EXPLICITLY_SET_FILTER_NAME, EXPLICITLY_SET_PROPERTY_NAME
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) |
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() |
String |
toString(boolean includeByteArrayContents)
Return a string representation of the object.
|
markPropertyAsExplicitlySet, wasPropertyExplicitlySet
@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()
public String toString()
toString
in class com.oracle.bmc.http.client.internal.ExplicitlySetBmcModel
public String toString(boolean includeByteArrayContents)
Return a string representation of the object.
includeByteArrayContents
- true to include the full contents of byte arrayspublic boolean equals(Object o)
equals
in class com.oracle.bmc.http.client.internal.ExplicitlySetBmcModel
public int hashCode()
hashCode
in class com.oracle.bmc.http.client.internal.ExplicitlySetBmcModel
Copyright © 2016–2024. All rights reserved.