@Generated(value="com.amazonaws:aws-java-sdk-code-generator") public class RunGroupListItem extends Object implements Serializable, Cloneable, StructuredPojo
A run group.
Constructor and Description |
---|
RunGroupListItem() |
Modifier and Type | Method and Description |
---|---|
RunGroupListItem |
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 CPU count setting.
|
Integer |
getMaxDuration()
The group's maximum duration setting in minutes.
|
Integer |
getMaxGpus()
The maximum GPUs that can be used by a run group.
|
Integer |
getMaxRuns()
The group's maximum concurrent run setting.
|
String |
getName()
The group's name.
|
int |
hashCode() |
void |
marshall(ProtocolMarshaller protocolMarshaller)
Marshalls this structured data using the given
ProtocolMarshaller . |
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 CPU count setting.
|
void |
setMaxDuration(Integer maxDuration)
The group's maximum duration setting in minutes.
|
void |
setMaxGpus(Integer maxGpus)
The maximum GPUs that can be used by a run group.
|
void |
setMaxRuns(Integer maxRuns)
The group's maximum concurrent run setting.
|
void |
setName(String name)
The group's name.
|
String |
toString()
Returns a string representation of this object.
|
RunGroupListItem |
withArn(String arn)
The group's ARN.
|
RunGroupListItem |
withCreationTime(Date creationTime)
When the group was created.
|
RunGroupListItem |
withId(String id)
The group's ID.
|
RunGroupListItem |
withMaxCpus(Integer maxCpus)
The group's maximum CPU count setting.
|
RunGroupListItem |
withMaxDuration(Integer maxDuration)
The group's maximum duration setting in minutes.
|
RunGroupListItem |
withMaxGpus(Integer maxGpus)
The maximum GPUs that can be used by a run group.
|
RunGroupListItem |
withMaxRuns(Integer maxRuns)
The group's maximum concurrent run setting.
|
RunGroupListItem |
withName(String name)
The group's name.
|
public void setArn(String arn)
The group's ARN.
arn
- The group's ARN.public String getArn()
The group's ARN.
public RunGroupListItem 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 RunGroupListItem 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 RunGroupListItem withName(String name)
The group's name.
name
- The group's name.public void setMaxCpus(Integer maxCpus)
The group's maximum CPU count setting.
maxCpus
- The group's maximum CPU count setting.public Integer getMaxCpus()
The group's maximum CPU count setting.
public RunGroupListItem withMaxCpus(Integer maxCpus)
The group's maximum CPU count setting.
maxCpus
- The group's maximum CPU count setting.public void setMaxRuns(Integer maxRuns)
The group's maximum concurrent run setting.
maxRuns
- The group's maximum concurrent run setting.public Integer getMaxRuns()
The group's maximum concurrent run setting.
public RunGroupListItem withMaxRuns(Integer maxRuns)
The group's maximum concurrent run setting.
maxRuns
- The group's maximum concurrent run setting.public void setMaxDuration(Integer maxDuration)
The group's maximum duration setting in minutes.
maxDuration
- The group's maximum duration setting in minutes.public Integer getMaxDuration()
The group's maximum duration setting in minutes.
public RunGroupListItem withMaxDuration(Integer maxDuration)
The group's maximum duration setting in minutes.
maxDuration
- The group's maximum duration setting 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 RunGroupListItem withCreationTime(Date creationTime)
When the group was created.
creationTime
- When the group was created.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 RunGroupListItem 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 RunGroupListItem clone()
public void marshall(ProtocolMarshaller protocolMarshaller)
StructuredPojo
ProtocolMarshaller
.marshall
in interface StructuredPojo
protocolMarshaller
- Implementation of ProtocolMarshaller
used to marshall this object's data.