@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 max duration for the group.
|
Integer |
getMaxRuns()
The maximum number of concurrent runs for the group.
|
String |
getName()
A name for the group.
|
String |
getRequestId()
A request ID for the group.
|
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 max duration for the 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)
A request ID for the group.
|
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 max duration for the 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)
A request ID for the group.
|
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 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 setMaxDuration(Integer maxDuration)
A max duration for the group.
maxDuration
- A max duration for the group.public Integer getMaxDuration()
A max duration for the group.
public CreateRunGroupRequest withMaxDuration(Integer maxDuration)
A max duration for the group.
maxDuration
- A max duration for 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 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 setRequestId(String requestId)
A request ID for the group.
requestId
- A request ID for the group.public String getRequestId()
A request ID for the group.
public CreateRunGroupRequest withRequestId(String requestId)
A request ID for the group.
requestId
- A request ID for the group.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 String toString()
toString
in class Object
Object.toString()
public CreateRunGroupRequest clone()
AmazonWebServiceRequest
clone
in class AmazonWebServiceRequest
Object.clone()