@Generated(value="com.amazonaws:aws-java-sdk-code-generator") public class UpdateRunGroupRequest extends AmazonWebServiceRequest implements Serializable, Cloneable
NOOP
Constructor and Description |
---|
UpdateRunGroupRequest() |
Modifier and Type | Method and Description |
---|---|
UpdateRunGroupRequest |
clone()
Creates a shallow clone of this object for all fields except the handler context.
|
boolean |
equals(Object obj) |
String |
getId()
The group's ID.
|
Integer |
getMaxCpus()
The maximum number of CPUs to use.
|
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.
|
int |
hashCode() |
void |
setId(String id)
The group's ID.
|
void |
setMaxCpus(Integer maxCpus)
The maximum number of CPUs to use.
|
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.
|
String |
toString()
Returns a string representation of this object.
|
UpdateRunGroupRequest |
withId(String id)
The group's ID.
|
UpdateRunGroupRequest |
withMaxCpus(Integer maxCpus)
The maximum number of CPUs to use.
|
UpdateRunGroupRequest |
withMaxDuration(Integer maxDuration)
A maximum run time for the group in minutes.
|
UpdateRunGroupRequest |
withMaxGpus(Integer maxGpus)
The maximum GPUs that can be used by a run group.
|
UpdateRunGroupRequest |
withMaxRuns(Integer maxRuns)
The maximum number of concurrent runs for the group.
|
UpdateRunGroupRequest |
withName(String name)
A name 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 setId(String id)
The group's ID.
id
- The group's ID.public String getId()
The group's ID.
public UpdateRunGroupRequest withId(String id)
The group's ID.
id
- The group's ID.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 UpdateRunGroupRequest 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.
maxCpus
- The maximum number of CPUs to use.public Integer getMaxCpus()
The maximum number of CPUs to use.
public UpdateRunGroupRequest withMaxCpus(Integer maxCpus)
The maximum number of CPUs to use.
maxCpus
- The maximum number of CPUs to use.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 UpdateRunGroupRequest 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 UpdateRunGroupRequest withMaxDuration(Integer maxDuration)
A maximum run time for the group in minutes.
maxDuration
- A maximum run time for the group in minutes.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 UpdateRunGroupRequest 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 UpdateRunGroupRequest clone()
AmazonWebServiceRequest
clone
in class AmazonWebServiceRequest
Object.clone()