@Generated(value="com.amazonaws:aws-java-sdk-code-generator") public class AddWorkloadResult extends AmazonWebServiceResult<ResponseMetadata> implements Serializable, Cloneable
Constructor and Description |
---|
AddWorkloadResult() |
Modifier and Type | Method and Description |
---|---|
AddWorkloadResult |
clone() |
boolean |
equals(Object obj) |
WorkloadConfiguration |
getWorkloadConfiguration()
The configuration settings of the workload.
|
String |
getWorkloadId()
The ID of the workload.
|
int |
hashCode() |
void |
setWorkloadConfiguration(WorkloadConfiguration workloadConfiguration)
The configuration settings of the workload.
|
void |
setWorkloadId(String workloadId)
The ID of the workload.
|
String |
toString()
Returns a string representation of this object.
|
AddWorkloadResult |
withWorkloadConfiguration(WorkloadConfiguration workloadConfiguration)
The configuration settings of the workload.
|
AddWorkloadResult |
withWorkloadId(String workloadId)
The ID of the workload.
|
getSdkHttpMetadata, getSdkResponseMetadata, setSdkHttpMetadata, setSdkResponseMetadata
public void setWorkloadId(String workloadId)
The ID of the workload.
workloadId
- The ID of the workload.public String getWorkloadId()
The ID of the workload.
public AddWorkloadResult withWorkloadId(String workloadId)
The ID of the workload.
workloadId
- The ID of the workload.public void setWorkloadConfiguration(WorkloadConfiguration workloadConfiguration)
The configuration settings of the workload. The value is the escaped JSON of the configuration.
workloadConfiguration
- The configuration settings of the workload. The value is the escaped JSON of the configuration.public WorkloadConfiguration getWorkloadConfiguration()
The configuration settings of the workload. The value is the escaped JSON of the configuration.
public AddWorkloadResult withWorkloadConfiguration(WorkloadConfiguration workloadConfiguration)
The configuration settings of the workload. The value is the escaped JSON of the configuration.
workloadConfiguration
- The configuration settings of the workload. The value is the escaped JSON of the configuration.public String toString()
toString
in class Object
Object.toString()
public AddWorkloadResult clone()