@Generated(value="com.amazonaws:aws-java-sdk-code-generator") public class StartCapacityTaskResult extends AmazonWebServiceResult<ResponseMetadata> implements Serializable, Cloneable
Constructor and Description |
---|
StartCapacityTaskResult() |
Modifier and Type | Method and Description |
---|---|
StartCapacityTaskResult |
clone() |
boolean |
equals(Object obj) |
String |
getCapacityTaskId()
ID of the capacity task that you want to start.
|
String |
getCapacityTaskStatus()
Status of the specified capacity task.
|
Date |
getCompletionDate()
Date that the specified capacity task ran successfully.
|
Date |
getCreationDate()
Date that the specified capacity task was created.
|
Boolean |
getDryRun()
Results of the dry run showing if the specified capacity task is above or below the available instance capacity.
|
CapacityTaskFailure |
getFailed()
Reason that the specified capacity task failed.
|
Date |
getLastModifiedDate()
Date that the specified capacity task was last modified.
|
String |
getOrderId()
ID of the Amazon Web Services Outposts order of the host associated with the capacity task.
|
String |
getOutpostId()
ID of the Outpost associated with the capacity task.
|
List<InstanceTypeCapacity> |
getRequestedInstancePools()
List of the instance pools requested in the specified capacity task.
|
int |
hashCode() |
Boolean |
isDryRun()
Results of the dry run showing if the specified capacity task is above or below the available instance capacity.
|
void |
setCapacityTaskId(String capacityTaskId)
ID of the capacity task that you want to start.
|
void |
setCapacityTaskStatus(String capacityTaskStatus)
Status of the specified capacity task.
|
void |
setCompletionDate(Date completionDate)
Date that the specified capacity task ran successfully.
|
void |
setCreationDate(Date creationDate)
Date that the specified capacity task was created.
|
void |
setDryRun(Boolean dryRun)
Results of the dry run showing if the specified capacity task is above or below the available instance capacity.
|
void |
setFailed(CapacityTaskFailure failed)
Reason that the specified capacity task failed.
|
void |
setLastModifiedDate(Date lastModifiedDate)
Date that the specified capacity task was last modified.
|
void |
setOrderId(String orderId)
ID of the Amazon Web Services Outposts order of the host associated with the capacity task.
|
void |
setOutpostId(String outpostId)
ID of the Outpost associated with the capacity task.
|
void |
setRequestedInstancePools(Collection<InstanceTypeCapacity> requestedInstancePools)
List of the instance pools requested in the specified capacity task.
|
String |
toString()
Returns a string representation of this object.
|
StartCapacityTaskResult |
withCapacityTaskId(String capacityTaskId)
ID of the capacity task that you want to start.
|
StartCapacityTaskResult |
withCapacityTaskStatus(CapacityTaskStatus capacityTaskStatus)
Status of the specified capacity task.
|
StartCapacityTaskResult |
withCapacityTaskStatus(String capacityTaskStatus)
Status of the specified capacity task.
|
StartCapacityTaskResult |
withCompletionDate(Date completionDate)
Date that the specified capacity task ran successfully.
|
StartCapacityTaskResult |
withCreationDate(Date creationDate)
Date that the specified capacity task was created.
|
StartCapacityTaskResult |
withDryRun(Boolean dryRun)
Results of the dry run showing if the specified capacity task is above or below the available instance capacity.
|
StartCapacityTaskResult |
withFailed(CapacityTaskFailure failed)
Reason that the specified capacity task failed.
|
StartCapacityTaskResult |
withLastModifiedDate(Date lastModifiedDate)
Date that the specified capacity task was last modified.
|
StartCapacityTaskResult |
withOrderId(String orderId)
ID of the Amazon Web Services Outposts order of the host associated with the capacity task.
|
StartCapacityTaskResult |
withOutpostId(String outpostId)
ID of the Outpost associated with the capacity task.
|
StartCapacityTaskResult |
withRequestedInstancePools(Collection<InstanceTypeCapacity> requestedInstancePools)
List of the instance pools requested in the specified capacity task.
|
StartCapacityTaskResult |
withRequestedInstancePools(InstanceTypeCapacity... requestedInstancePools)
List of the instance pools requested in the specified capacity task.
|
getSdkHttpMetadata, getSdkResponseMetadata, setSdkHttpMetadata, setSdkResponseMetadata
public void setCapacityTaskId(String capacityTaskId)
ID of the capacity task that you want to start.
capacityTaskId
- ID of the capacity task that you want to start.public String getCapacityTaskId()
ID of the capacity task that you want to start.
public StartCapacityTaskResult withCapacityTaskId(String capacityTaskId)
ID of the capacity task that you want to start.
capacityTaskId
- ID of the capacity task that you want to start.public void setOutpostId(String outpostId)
ID of the Outpost associated with the capacity task.
outpostId
- ID of the Outpost associated with the capacity task.public String getOutpostId()
ID of the Outpost associated with the capacity task.
public StartCapacityTaskResult withOutpostId(String outpostId)
ID of the Outpost associated with the capacity task.
outpostId
- ID of the Outpost associated with the capacity task.public void setOrderId(String orderId)
ID of the Amazon Web Services Outposts order of the host associated with the capacity task.
orderId
- ID of the Amazon Web Services Outposts order of the host associated with the capacity task.public String getOrderId()
ID of the Amazon Web Services Outposts order of the host associated with the capacity task.
public StartCapacityTaskResult withOrderId(String orderId)
ID of the Amazon Web Services Outposts order of the host associated with the capacity task.
orderId
- ID of the Amazon Web Services Outposts order of the host associated with the capacity task.public List<InstanceTypeCapacity> getRequestedInstancePools()
List of the instance pools requested in the specified capacity task.
public void setRequestedInstancePools(Collection<InstanceTypeCapacity> requestedInstancePools)
List of the instance pools requested in the specified capacity task.
requestedInstancePools
- List of the instance pools requested in the specified capacity task.public StartCapacityTaskResult withRequestedInstancePools(InstanceTypeCapacity... requestedInstancePools)
List of the instance pools requested in the specified capacity task.
NOTE: This method appends the values to the existing list (if any). Use
setRequestedInstancePools(java.util.Collection)
or
withRequestedInstancePools(java.util.Collection)
if you want to override the existing values.
requestedInstancePools
- List of the instance pools requested in the specified capacity task.public StartCapacityTaskResult withRequestedInstancePools(Collection<InstanceTypeCapacity> requestedInstancePools)
List of the instance pools requested in the specified capacity task.
requestedInstancePools
- List of the instance pools requested in the specified capacity task.public void setDryRun(Boolean dryRun)
Results of the dry run showing if the specified capacity task is above or below the available instance capacity.
dryRun
- Results of the dry run showing if the specified capacity task is above or below the available instance
capacity.public Boolean getDryRun()
Results of the dry run showing if the specified capacity task is above or below the available instance capacity.
public StartCapacityTaskResult withDryRun(Boolean dryRun)
Results of the dry run showing if the specified capacity task is above or below the available instance capacity.
dryRun
- Results of the dry run showing if the specified capacity task is above or below the available instance
capacity.public Boolean isDryRun()
Results of the dry run showing if the specified capacity task is above or below the available instance capacity.
public void setCapacityTaskStatus(String capacityTaskStatus)
Status of the specified capacity task.
capacityTaskStatus
- Status of the specified capacity task.CapacityTaskStatus
public String getCapacityTaskStatus()
Status of the specified capacity task.
CapacityTaskStatus
public StartCapacityTaskResult withCapacityTaskStatus(String capacityTaskStatus)
Status of the specified capacity task.
capacityTaskStatus
- Status of the specified capacity task.CapacityTaskStatus
public StartCapacityTaskResult withCapacityTaskStatus(CapacityTaskStatus capacityTaskStatus)
Status of the specified capacity task.
capacityTaskStatus
- Status of the specified capacity task.CapacityTaskStatus
public void setFailed(CapacityTaskFailure failed)
Reason that the specified capacity task failed.
failed
- Reason that the specified capacity task failed.public CapacityTaskFailure getFailed()
Reason that the specified capacity task failed.
public StartCapacityTaskResult withFailed(CapacityTaskFailure failed)
Reason that the specified capacity task failed.
failed
- Reason that the specified capacity task failed.public void setCreationDate(Date creationDate)
Date that the specified capacity task was created.
creationDate
- Date that the specified capacity task was created.public Date getCreationDate()
Date that the specified capacity task was created.
public StartCapacityTaskResult withCreationDate(Date creationDate)
Date that the specified capacity task was created.
creationDate
- Date that the specified capacity task was created.public void setCompletionDate(Date completionDate)
Date that the specified capacity task ran successfully.
completionDate
- Date that the specified capacity task ran successfully.public Date getCompletionDate()
Date that the specified capacity task ran successfully.
public StartCapacityTaskResult withCompletionDate(Date completionDate)
Date that the specified capacity task ran successfully.
completionDate
- Date that the specified capacity task ran successfully.public void setLastModifiedDate(Date lastModifiedDate)
Date that the specified capacity task was last modified.
lastModifiedDate
- Date that the specified capacity task was last modified.public Date getLastModifiedDate()
Date that the specified capacity task was last modified.
public StartCapacityTaskResult withLastModifiedDate(Date lastModifiedDate)
Date that the specified capacity task was last modified.
lastModifiedDate
- Date that the specified capacity task was last modified.public String toString()
toString
in class Object
Object.toString()
public StartCapacityTaskResult clone()