@Generated(value="com.amazonaws:aws-java-sdk-code-generator") public class GetRunGroupResult extends AmazonWebServiceResult<ResponseMetadata> implements Serializable, Cloneable
Constructor and Description |
---|
GetRunGroupResult() |
Modifier and Type | Method and Description |
---|---|
GetRunGroupResult |
addTagsEntry(String key,
String value)
Add a single Tags entry
|
GetRunGroupResult |
clearTagsEntries()
Removes all the entries added into Tags.
|
GetRunGroupResult |
clone() |
boolean |
equals(Object obj) |
String |
getArn()
The group's ARN.
|
Date |
getCreationTime()
When the group was created.
|
String |
getId()
The group's ID.
|
Integer |
getMaxCpus()
The group's maximum number of CPUs to use.
|
Integer |
getMaxDuration()
The group's maximum run time 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()
The group's name.
|
Map<String,String> |
getTags()
The group's tags.
|
int |
hashCode() |
void |
setArn(String arn)
The group's ARN.
|
void |
setCreationTime(Date creationTime)
When the group was created.
|
void |
setId(String id)
The group's ID.
|
void |
setMaxCpus(Integer maxCpus)
The group's maximum number of CPUs to use.
|
void |
setMaxDuration(Integer maxDuration)
The group's maximum run time 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)
The group's name.
|
void |
setTags(Map<String,String> tags)
The group's tags.
|
String |
toString()
Returns a string representation of this object.
|
GetRunGroupResult |
withArn(String arn)
The group's ARN.
|
GetRunGroupResult |
withCreationTime(Date creationTime)
When the group was created.
|
GetRunGroupResult |
withId(String id)
The group's ID.
|
GetRunGroupResult |
withMaxCpus(Integer maxCpus)
The group's maximum number of CPUs to use.
|
GetRunGroupResult |
withMaxDuration(Integer maxDuration)
The group's maximum run time in minutes.
|
GetRunGroupResult |
withMaxGpus(Integer maxGpus)
The maximum GPUs that can be used by a run group.
|
GetRunGroupResult |
withMaxRuns(Integer maxRuns)
The maximum number of concurrent runs for the group.
|
GetRunGroupResult |
withName(String name)
The group's name.
|
GetRunGroupResult |
withTags(Map<String,String> tags)
The group's tags.
|
getSdkHttpMetadata, getSdkResponseMetadata, setSdkHttpMetadata, setSdkResponseMetadata
public void setArn(String arn)
The group's ARN.
arn
- The group's ARN.public String getArn()
The group's ARN.
public GetRunGroupResult withArn(String arn)
The group's ARN.
arn
- The group's ARN.public void setId(String id)
The group's ID.
id
- The group's ID.public String getId()
The group's ID.
public GetRunGroupResult withId(String id)
The group's ID.
id
- The group's ID.public void setName(String name)
The group's name.
name
- The group's name.public String getName()
The group's name.
public GetRunGroupResult withName(String name)
The group's name.
name
- The group's name.public void setMaxCpus(Integer maxCpus)
The group's maximum number of CPUs to use.
maxCpus
- The group's maximum number of CPUs to use.public Integer getMaxCpus()
The group's maximum number of CPUs to use.
public GetRunGroupResult withMaxCpus(Integer maxCpus)
The group's maximum number of CPUs to use.
maxCpus
- The group's 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 GetRunGroupResult 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)
The group's maximum run time in minutes.
maxDuration
- The group's maximum run time in minutes.public Integer getMaxDuration()
The group's maximum run time in minutes.
public GetRunGroupResult withMaxDuration(Integer maxDuration)
The group's maximum run time in minutes.
maxDuration
- The group's maximum run time in minutes.public void setCreationTime(Date creationTime)
When the group was created.
creationTime
- When the group was created.public Date getCreationTime()
When the group was created.
public GetRunGroupResult withCreationTime(Date creationTime)
When the group was created.
creationTime
- When the group was created.public void setTags(Map<String,String> tags)
The group's tags.
tags
- The group's tags.public GetRunGroupResult withTags(Map<String,String> tags)
The group's tags.
tags
- The group's tags.public GetRunGroupResult addTagsEntry(String key, String value)
public GetRunGroupResult clearTagsEntries()
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 GetRunGroupResult 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 GetRunGroupResult clone()