public static class InstanceAgentCommandSummary.Builder extends Object
Constructor and Description |
---|
Builder() |
Modifier and Type | Method and Description |
---|---|
InstanceAgentCommandSummary |
build() |
InstanceAgentCommandSummary.Builder |
compartmentId(String compartmentId)
The OCID of the
compartment containing the command.
|
InstanceAgentCommandSummary.Builder |
copy(InstanceAgentCommandSummary model) |
InstanceAgentCommandSummary.Builder |
displayName(String displayName)
A user-friendly name.
|
InstanceAgentCommandSummary.Builder |
instanceAgentCommandId(String instanceAgentCommandId)
The OCID of the
command.
|
InstanceAgentCommandSummary.Builder |
isCanceled(Boolean isCanceled)
Whether a request was made to cancel the command.
|
InstanceAgentCommandSummary.Builder |
timeCreated(Date timeCreated)
The date and time the command was created, in the format defined by
RFC3339.
|
InstanceAgentCommandSummary.Builder |
timeUpdated(Date timeUpdated)
The date and time the command was last updated, in the format defined by
RFC3339.
|
public InstanceAgentCommandSummary.Builder instanceAgentCommandId(String instanceAgentCommandId)
The OCID of the command.
instanceAgentCommandId
- the value to setpublic InstanceAgentCommandSummary.Builder displayName(String displayName)
A user-friendly name. Does not have to be unique.
displayName
- the value to setpublic InstanceAgentCommandSummary.Builder compartmentId(String compartmentId)
The OCID of the compartment containing the command.
compartmentId
- the value to setpublic InstanceAgentCommandSummary.Builder timeCreated(Date timeCreated)
The date and time the command was created, in the format defined by RFC3339.
timeCreated
- the value to setpublic InstanceAgentCommandSummary.Builder timeUpdated(Date timeUpdated)
The date and time the command was last updated, in the format defined by RFC3339.
timeUpdated
- the value to setpublic InstanceAgentCommandSummary.Builder isCanceled(Boolean isCanceled)
Whether a request was made to cancel the command. Canceling a command is a best-effort attempt.
isCanceled
- the value to setpublic InstanceAgentCommandSummary build()
public InstanceAgentCommandSummary.Builder copy(InstanceAgentCommandSummary model)
Copyright © 2016–2024. All rights reserved.