@Generated(value="com.amazonaws:aws-java-sdk-code-generator") public class SchedulingPolicyDetail extends Object implements Serializable, Cloneable, StructuredPojo
An object representing a scheduling policy.
Constructor and Description |
---|
SchedulingPolicyDetail() |
Modifier and Type | Method and Description |
---|---|
SchedulingPolicyDetail |
addTagsEntry(String key,
String value)
Add a single Tags entry
|
SchedulingPolicyDetail |
clearTagsEntries()
Removes all the entries added into Tags.
|
SchedulingPolicyDetail |
clone() |
boolean |
equals(Object obj) |
String |
getArn()
Amazon Resource Name (ARN) of the scheduling policy.
|
FairsharePolicy |
getFairsharePolicy()
The fair share policy for the scheduling policy.
|
String |
getName()
The name of the scheduling policy.
|
Map<String,String> |
getTags()
The tags that you apply to the scheduling policy to help you categorize and organize your resources.
|
int |
hashCode() |
void |
marshall(ProtocolMarshaller protocolMarshaller) |
void |
setArn(String arn)
Amazon Resource Name (ARN) of the scheduling policy.
|
void |
setFairsharePolicy(FairsharePolicy fairsharePolicy)
The fair share policy for the scheduling policy.
|
void |
setName(String name)
The name of the scheduling policy.
|
void |
setTags(Map<String,String> tags)
The tags that you apply to the scheduling policy to help you categorize and organize your resources.
|
String |
toString()
Returns a string representation of this object.
|
SchedulingPolicyDetail |
withArn(String arn)
Amazon Resource Name (ARN) of the scheduling policy.
|
SchedulingPolicyDetail |
withFairsharePolicy(FairsharePolicy fairsharePolicy)
The fair share policy for the scheduling policy.
|
SchedulingPolicyDetail |
withName(String name)
The name of the scheduling policy.
|
SchedulingPolicyDetail |
withTags(Map<String,String> tags)
The tags that you apply to the scheduling policy to help you categorize and organize your resources.
|
public void setName(String name)
The name of the scheduling policy.
name
- The name of the scheduling policy.public String getName()
The name of the scheduling policy.
public SchedulingPolicyDetail withName(String name)
The name of the scheduling policy.
name
- The name of the scheduling policy.public void setArn(String arn)
Amazon Resource Name (ARN) of the scheduling policy. An example would be
arn:aws:batch:us-east-1:123456789012:scheduling-policy/HighPriority
arn
- Amazon Resource Name (ARN) of the scheduling policy. An example would be
arn:aws:batch:us-east-1:123456789012:scheduling-policy/HighPriority
public String getArn()
Amazon Resource Name (ARN) of the scheduling policy. An example would be
arn:aws:batch:us-east-1:123456789012:scheduling-policy/HighPriority
arn:aws:batch:us-east-1:123456789012:scheduling-policy/HighPriority
public SchedulingPolicyDetail withArn(String arn)
Amazon Resource Name (ARN) of the scheduling policy. An example would be
arn:aws:batch:us-east-1:123456789012:scheduling-policy/HighPriority
arn
- Amazon Resource Name (ARN) of the scheduling policy. An example would be
arn:aws:batch:us-east-1:123456789012:scheduling-policy/HighPriority
public void setFairsharePolicy(FairsharePolicy fairsharePolicy)
The fair share policy for the scheduling policy.
fairsharePolicy
- The fair share policy for the scheduling policy.public FairsharePolicy getFairsharePolicy()
The fair share policy for the scheduling policy.
public SchedulingPolicyDetail withFairsharePolicy(FairsharePolicy fairsharePolicy)
The fair share policy for the scheduling policy.
fairsharePolicy
- The fair share policy for the scheduling policy.public Map<String,String> getTags()
The tags that you apply to the scheduling policy to help you categorize and organize your resources. Each tag consists of a key and an optional value. For more information, see Tagging Amazon Web Services Resources in Amazon Web Services General Reference.
public void setTags(Map<String,String> tags)
The tags that you apply to the scheduling policy to help you categorize and organize your resources. Each tag consists of a key and an optional value. For more information, see Tagging Amazon Web Services Resources in Amazon Web Services General Reference.
tags
- The tags that you apply to the scheduling policy to help you categorize and organize your resources. Each
tag consists of a key and an optional value. For more information, see Tagging Amazon Web Services
Resources in Amazon Web Services General Reference.public SchedulingPolicyDetail withTags(Map<String,String> tags)
The tags that you apply to the scheduling policy to help you categorize and organize your resources. Each tag consists of a key and an optional value. For more information, see Tagging Amazon Web Services Resources in Amazon Web Services General Reference.
tags
- The tags that you apply to the scheduling policy to help you categorize and organize your resources. Each
tag consists of a key and an optional value. For more information, see Tagging Amazon Web Services
Resources in Amazon Web Services General Reference.public SchedulingPolicyDetail addTagsEntry(String key, String value)
public SchedulingPolicyDetail clearTagsEntries()
public String toString()
toString
in class Object
Object.toString()
public SchedulingPolicyDetail clone()
public void marshall(ProtocolMarshaller protocolMarshaller)
marshall
in interface StructuredPojo
Copyright © 2021. All rights reserved.