@Generated(value="OracleSDKGenerator", comments="API Version: 20180530") public final class InstanceAgentCommand extends Object
The command payload.
Note: Objects should always be created or deserialized using the InstanceAgentCommand.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 InstanceAgentCommand.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 |
InstanceAgentCommand.Builder |
| Constructor and Description |
|---|
InstanceAgentCommand(String id,
String compartmentId,
String displayName,
Date timeCreated,
Date timeUpdated,
Boolean isCanceled,
Integer executionTimeOutInSeconds,
InstanceAgentCommandTarget target,
InstanceAgentCommandContent content)
Deprecated.
|
| Modifier and Type | Method and Description |
|---|---|
static InstanceAgentCommand.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() |
String |
getDisplayName()
The user friendly display name of the command.
|
Integer |
getExecutionTimeOutInSeconds()
Command execution time limit that the instance agent will honor when executing the command inside the instance.
|
String |
getId()
The command OCID
|
Boolean |
getIsCanceled()
Whether the command has been requested to be canceled.
|
InstanceAgentCommandTarget |
getTarget() |
Date |
getTimeCreated()
the time command was created at.
|
Date |
getTimeUpdated()
the time command was updated at.
|
int |
hashCode() |
InstanceAgentCommand.Builder |
toBuilder() |
String |
toString() |
@ConstructorProperties(value={"id","compartmentId","displayName","timeCreated","timeUpdated","isCanceled","executionTimeOutInSeconds","target","content"}) @Deprecated public InstanceAgentCommand(String id, String compartmentId, String displayName, Date timeCreated, Date timeUpdated, Boolean isCanceled, Integer executionTimeOutInSeconds, InstanceAgentCommandTarget target, InstanceAgentCommandContent content)
public static InstanceAgentCommand.Builder builder()
Create a new builder.
public InstanceAgentCommand.Builder toBuilder()
public String getId()
The command OCID
public String getCompartmentId()
The OCID of the compartment the command is created in.
public String getDisplayName()
The user friendly display name of the command.
public Date getTimeCreated()
the time command was created at.
public Date getTimeUpdated()
the time command was updated at.
public Boolean getIsCanceled()
Whether the command has been requested to be canceled.
public Integer getExecutionTimeOutInSeconds()
Command execution time limit that the instance agent will honor when executing the command inside the instance. This timer starts when the instance agent starts the commond. Zero means no timeout.
public InstanceAgentCommandTarget getTarget()
public InstanceAgentCommandContent getContent()
Copyright © 2016–2021. All rights reserved.