@Generated(value="com.amazonaws:aws-java-sdk-code-generator") public class CreateRunGroupRequest extends AmazonWebServiceRequest implements Serializable, Cloneable
NOOP
Constructor and Description |
---|
CreateRunGroupRequest() |
Modifier and Type | Method and Description |
---|---|
CreateRunGroupRequest |
addTagsEntry(String key,
String value)
Add a single Tags entry
|
CreateRunGroupRequest |
clearTagsEntries()
Removes all the entries added into Tags.
|
CreateRunGroupRequest |
clone()
Creates a shallow clone of this object for all fields except the handler context.
|
boolean |
equals(Object obj) |
Integer |
getMaxCpus()
The maximum number of CPUs to use in the group.
|
Integer |
getMaxDuration()
A maximum run time for the group in minutes.
|
Integer |
getMaxGpus()
The maximum GPUs that can be used by a run group.
|
Integer |
getMaxRuns()
The maximum number of concurrent runs for the group.
|
String |
getName()
A name for the group.
|
String |
getRequestId()
To ensure that requests don't run multiple times, specify a unique ID for each request.
|
Map<String,String> |
getTags()
Tags for the group.
|
int |
hashCode() |
void |
setMaxCpus(Integer maxCpus)
The maximum number of CPUs to use in the group.
|
void |
setMaxDuration(Integer maxDuration)
A maximum run time for the group in minutes.
|
void |
setMaxGpus(Integer maxGpus)
The maximum GPUs that can be used by a run group.
|
void |
setMaxRuns(Integer maxRuns)
The maximum number of concurrent runs for the group.
|
void |
setName(String name)
A name for the group.
|
void |
setRequestId(String requestId)
To ensure that requests don't run multiple times, specify a unique ID for each request.
|
void |
setTags(Map<String,String> tags)
Tags for the group.
|
String |
toString()
Returns a string representation of this object.
|
CreateRunGroupRequest |
withMaxCpus(Integer maxCpus)
The maximum number of CPUs to use in the group.
|
CreateRunGroupRequest |
withMaxDuration(Integer maxDuration)
A maximum run time for the group in minutes.
|
CreateRunGroupRequest |
withMaxGpus(Integer maxGpus)
The maximum GPUs that can be used by a run group.
|
CreateRunGroupRequest |
withMaxRuns(Integer maxRuns)
The maximum number of concurrent runs for the group.
|
CreateRunGroupRequest |
withName(String name)
A name for the group.
|
CreateRunGroupRequest |
withRequestId(String requestId)
To ensure that requests don't run multiple times, specify a unique ID for each request.
|
CreateRunGroupRequest |
withTags(Map<String,String> tags)
Tags for the group.
|
addHandlerContext, getCloneRoot, getCloneSource, getCustomQueryParameters, getCustomRequestHeaders, getGeneralProgressListener, getHandlerContext, getReadLimit, getRequestClientOptions, getRequestCredentials, getRequestCredentialsProvider, getRequestMetricCollector, getSdkClientExecutionTimeout, getSdkRequestTimeout, putCustomQueryParameter, putCustomRequestHeader, setGeneralProgressListener, setRequestCredentials, setRequestCredentialsProvider, setRequestMetricCollector, setSdkClientExecutionTimeout, setSdkRequestTimeout, withGeneralProgressListener, withRequestCredentialsProvider, withRequestMetricCollector, withSdkClientExecutionTimeout, withSdkRequestTimeout
public void setName(String name)
A name for the group.
name
- A name for the group.public String getName()
A name for the group.
public CreateRunGroupRequest withName(String name)
A name for the group.
name
- A name for the group.public void setMaxCpus(Integer maxCpus)
The maximum number of CPUs to use in the group.
maxCpus
- The maximum number of CPUs to use in the group.public Integer getMaxCpus()
The maximum number of CPUs to use in the group.
public CreateRunGroupRequest withMaxCpus(Integer maxCpus)
The maximum number of CPUs to use in the group.
maxCpus
- The maximum number of CPUs to use in the group.public void setMaxRuns(Integer maxRuns)
The maximum number of concurrent runs for the group.
maxRuns
- The maximum number of concurrent runs for the group.public Integer getMaxRuns()
The maximum number of concurrent runs for the group.
public CreateRunGroupRequest withMaxRuns(Integer maxRuns)
The maximum number of concurrent runs for the group.
maxRuns
- The maximum number of concurrent runs for the group.public void setMaxDuration(Integer maxDuration)
A maximum run time for the group in minutes.
maxDuration
- A maximum run time for the group in minutes.public Integer getMaxDuration()
A maximum run time for the group in minutes.
public CreateRunGroupRequest withMaxDuration(Integer maxDuration)
A maximum run time for the group in minutes.
maxDuration
- A maximum run time for the group in minutes.public void setTags(Map<String,String> tags)
Tags for the group.
tags
- Tags for the group.public CreateRunGroupRequest withTags(Map<String,String> tags)
Tags for the group.
tags
- Tags for the group.public CreateRunGroupRequest addTagsEntry(String key, String value)
public CreateRunGroupRequest clearTagsEntries()
public void setRequestId(String requestId)
To ensure that requests don't run multiple times, specify a unique ID for each request.
requestId
- To ensure that requests don't run multiple times, specify a unique ID for each request.public String getRequestId()
To ensure that requests don't run multiple times, specify a unique ID for each request.
public CreateRunGroupRequest withRequestId(String requestId)
To ensure that requests don't run multiple times, specify a unique ID for each request.
requestId
- To ensure that requests don't run multiple times, specify a unique ID for each request.public void setMaxGpus(Integer maxGpus)
The maximum GPUs that can be used by a run group.
maxGpus
- The maximum GPUs that can be used by a run group.public Integer getMaxGpus()
The maximum GPUs that can be used by a run group.
public CreateRunGroupRequest withMaxGpus(Integer maxGpus)
The maximum GPUs that can be used by a run group.
maxGpus
- The maximum GPUs that can be used by a run group.public String toString()
toString
in class Object
Object.toString()
public CreateRunGroupRequest clone()
AmazonWebServiceRequest
clone
in class AmazonWebServiceRequest
Object.clone()