@Generated(value="OracleSDKGenerator", comments="API Version: 20180530") public final class InstanceAgentCommandContentInfo extends Object
The command content.
Note: Objects should always be created or deserialized using the InstanceAgentCommandContentInfo.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 InstanceAgentCommandContentInfo.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 |
InstanceAgentCommandContentInfo.Builder |
| Constructor and Description |
|---|
InstanceAgentCommandContentInfo(String instanceAgentCommandId,
String compartmentId,
Date timeCreated,
Date timeUpdated,
Boolean isCanceled,
Integer executionTimeOutInSeconds,
InstanceAgentCommandContent content)
Deprecated.
|
| Modifier and Type | Method and Description |
|---|---|
static InstanceAgentCommandContentInfo.Builder |
builder()
Create a new builder.
|
boolean |
equals(Object o) |
Set<String> |
get__explicitlySet__() |
String |
getCompartmentId()
The OCID of the compartment the command is created in.
|
InstanceAgentCommandContent |
getContent() |
Integer |
getExecutionTimeOutInSeconds()
The last command time.
|
String |
getInstanceAgentCommandId()
The command ocid
|
Boolean |
getIsCanceled()
Whether the command has been canceled.
|
Date |
getTimeCreated()
created at time of command.
|
Date |
getTimeUpdated()
updated time of command.
|
int |
hashCode() |
InstanceAgentCommandContentInfo.Builder |
toBuilder() |
String |
toString() |
@ConstructorProperties(value={"instanceAgentCommandId","compartmentId","timeCreated","timeUpdated","isCanceled","executionTimeOutInSeconds","content"}) @Deprecated public InstanceAgentCommandContentInfo(String instanceAgentCommandId, String compartmentId, Date timeCreated, Date timeUpdated, Boolean isCanceled, Integer executionTimeOutInSeconds, InstanceAgentCommandContent content)
public static InstanceAgentCommandContentInfo.Builder builder()
Create a new builder.
public InstanceAgentCommandContentInfo.Builder toBuilder()
public String getInstanceAgentCommandId()
The command ocid
public String getCompartmentId()
The OCID of the compartment the command is created in.
public Date getTimeCreated()
created at time of command.
public Date getTimeUpdated()
updated time of command.
public Boolean getIsCanceled()
Whether the command has been canceled.
public Integer getExecutionTimeOutInSeconds()
The last command time.
public InstanceAgentCommandContent getContent()
Copyright © 2016–2021. All rights reserved.