Class InstanceAgentCommandSummary.Builder
- java.lang.Object
-
- com.oracle.bmc.computeinstanceagent.model.InstanceAgentCommandSummary.Builder
-
- Enclosing class:
- InstanceAgentCommandSummary
public static class InstanceAgentCommandSummary.Builder extends Object
-
-
Constructor Summary
Constructors Constructor Description Builder()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method 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.
-
-
-
Method Detail
-
instanceAgentCommandId
public InstanceAgentCommandSummary.Builder instanceAgentCommandId(String instanceAgentCommandId)
The OCID of the command.- Parameters:
instanceAgentCommandId
- the value to set- Returns:
- this builder
-
displayName
public InstanceAgentCommandSummary.Builder displayName(String displayName)
A user-friendly name.Does not have to be unique.
- Parameters:
displayName
- the value to set- Returns:
- this builder
-
compartmentId
public InstanceAgentCommandSummary.Builder compartmentId(String compartmentId)
The OCID of the compartment containing the command.- Parameters:
compartmentId
- the value to set- Returns:
- this builder
-
timeCreated
public InstanceAgentCommandSummary.Builder timeCreated(Date timeCreated)
The date and time the command was created, in the format defined by RFC3339.- Parameters:
timeCreated
- the value to set- Returns:
- this builder
-
timeUpdated
public InstanceAgentCommandSummary.Builder timeUpdated(Date timeUpdated)
The date and time the command was last updated, in the format defined by RFC3339.- Parameters:
timeUpdated
- the value to set- Returns:
- this builder
-
isCanceled
public InstanceAgentCommandSummary.Builder isCanceled(Boolean isCanceled)
Whether a request was made to cancel the command.Canceling a command is a best-effort attempt.
- Parameters:
isCanceled
- the value to set- Returns:
- this builder
-
build
public InstanceAgentCommandSummary build()
-
copy
public InstanceAgentCommandSummary.Builder copy(InstanceAgentCommandSummary model)
-
-