Class InstanceAgentCommandExecution
- java.lang.Object
- 
- com.oracle.bmc.http.client.internal.ExplicitlySetBmcModel
- 
- com.oracle.bmc.computeinstanceagent.model.InstanceAgentCommandExecution
 
 
- 
 @Generated(value="OracleSDKGenerator", comments="API Version: 20180530") public final class InstanceAgentCommandExecution extends com.oracle.bmc.http.client.internal.ExplicitlySetBmcModelA command’s execution summary.
 Note: Objects should always be created or deserialized using theInstanceAgentCommandExecution.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 theInstanceAgentCommandExecution.Builder, which maintain a set of all explicitly set fields calledInstanceAgentCommandExecution.Builder.__explicitlySet__. ThehashCode()andequals(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).
- 
- 
Nested Class SummaryNested Classes Modifier and Type Class Description static classInstanceAgentCommandExecution.Builderstatic classInstanceAgentCommandExecution.DeliveryStateSpecifies the command delivery state.static classInstanceAgentCommandExecution.LifecycleStatecommand execution life cycle state.
 - 
Constructor SummaryConstructors Constructor Description InstanceAgentCommandExecution(String instanceAgentCommandId, String instanceId, InstanceAgentCommandExecution.DeliveryState deliveryState, InstanceAgentCommandExecution.LifecycleState lifecycleState, Date timeCreated, Date timeUpdated, Long sequenceNumber, String displayName, InstanceAgentCommandExecutionOutputContent content)Deprecated.
 - 
Method SummaryAll Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description static InstanceAgentCommandExecution.Builderbuilder()Create a new builder.booleanequals(Object o)InstanceAgentCommandExecutionOutputContentgetContent()InstanceAgentCommandExecution.DeliveryStategetDeliveryState()Specifies the command delivery state.StringgetDisplayName()The user friendly display name of the command.StringgetInstanceAgentCommandId()The OCID of the commandStringgetInstanceId()The OCID of the instanceInstanceAgentCommandExecution.LifecycleStategetLifecycleState()command execution life cycle state.LonggetSequenceNumber()The large non-consecutive number that Run Command Service assigns to each created command.DategetTimeCreated()The command creation dateDategetTimeUpdated()The command last updated at date.inthashCode()InstanceAgentCommandExecution.BuildertoBuilder()StringtoString()StringtoString(boolean includeByteArrayContents)Return a string representation of the object.
 
- 
- 
- 
Constructor Detail- 
InstanceAgentCommandExecution@Deprecated @ConstructorProperties({"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) Deprecated.
 
- 
 - 
Method Detail- 
builderpublic static InstanceAgentCommandExecution.Builder builder() Create a new builder.
 - 
toBuilderpublic InstanceAgentCommandExecution.Builder toBuilder() 
 - 
getInstanceAgentCommandIdpublic String getInstanceAgentCommandId() The OCID of the command- Returns:
- the value
 
 - 
getInstanceIdpublic String getInstanceId() The OCID of the instance- Returns:
- the value
 
 - 
getDeliveryStatepublic 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.
 - Returns:
- the value
 
 - 
getLifecycleStatepublic 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.
 - Returns:
- the value
 
 - 
getTimeCreatedpublic Date getTimeCreated() The command creation date- Returns:
- the value
 
 - 
getTimeUpdatedpublic Date getTimeUpdated() The command last updated at date.- Returns:
- the value
 
 - 
getSequenceNumberpublic Long getSequenceNumber() The large non-consecutive number that Run Command Service assigns to each created command.- Returns:
- the value
 
 - 
getDisplayNamepublic String getDisplayName() The user friendly display name of the command.- Returns:
- the value
 
 - 
getContentpublic InstanceAgentCommandExecutionOutputContent getContent() 
 - 
toStringpublic String toString() - Overrides:
- toStringin class- com.oracle.bmc.http.client.internal.ExplicitlySetBmcModel
 
 - 
toStringpublic String toString(boolean includeByteArrayContents) Return a string representation of the object.- Parameters:
- includeByteArrayContents- true to include the full contents of byte arrays
- Returns:
- string representation
 
 - 
equalspublic boolean equals(Object o) - Overrides:
- equalsin class- com.oracle.bmc.http.client.internal.ExplicitlySetBmcModel
 
 - 
hashCodepublic int hashCode() - Overrides:
- hashCodein class- com.oracle.bmc.http.client.internal.ExplicitlySetBmcModel
 
 
- 
 
-