@Generated(value="com.amazonaws:aws-java-sdk-code-generator") public class CreateSchedulingPolicyRequest extends AmazonWebServiceRequest implements Serializable, Cloneable
NOOP
Constructor and Description |
---|
CreateSchedulingPolicyRequest() |
Modifier and Type | Method and Description |
---|---|
CreateSchedulingPolicyRequest |
addTagsEntry(String key,
String value)
Add a single Tags entry
|
CreateSchedulingPolicyRequest |
clearTagsEntries()
Removes all the entries added into Tags.
|
CreateSchedulingPolicyRequest |
clone()
Creates a shallow clone of this object for all fields except the handler context.
|
boolean |
equals(Object obj) |
FairsharePolicy |
getFairsharePolicy()
The fair share policy of 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 |
setFairsharePolicy(FairsharePolicy fairsharePolicy)
The fair share policy of 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.
|
CreateSchedulingPolicyRequest |
withFairsharePolicy(FairsharePolicy fairsharePolicy)
The fair share policy of the scheduling policy.
|
CreateSchedulingPolicyRequest |
withName(String name)
The name of the scheduling policy.
|
CreateSchedulingPolicyRequest |
withTags(Map<String,String> tags)
The tags that you apply to the scheduling policy to help you categorize and organize your resources.
|
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 setName(String name)
The name of the scheduling policy. Up to 128 letters (uppercase and lowercase), numbers, hyphens, and underscores are allowed.
name
- The name of the scheduling policy. Up to 128 letters (uppercase and lowercase), numbers, hyphens, and
underscores are allowed.public String getName()
The name of the scheduling policy. Up to 128 letters (uppercase and lowercase), numbers, hyphens, and underscores are allowed.
public CreateSchedulingPolicyRequest withName(String name)
The name of the scheduling policy. Up to 128 letters (uppercase and lowercase), numbers, hyphens, and underscores are allowed.
name
- The name of the scheduling policy. Up to 128 letters (uppercase and lowercase), numbers, hyphens, and
underscores are allowed.public void setFairsharePolicy(FairsharePolicy fairsharePolicy)
The fair share policy of the scheduling policy.
fairsharePolicy
- The fair share policy of the scheduling policy.public FairsharePolicy getFairsharePolicy()
The fair share policy of the scheduling policy.
public CreateSchedulingPolicyRequest withFairsharePolicy(FairsharePolicy fairsharePolicy)
The fair share policy of the scheduling policy.
fairsharePolicy
- The fair share policy of 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.
These tags can be updated or removed using the TagResource and UntagResource API operations.
These tags can be updated or removed using the TagResource and UntagResource API operations.
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.
These tags can be updated or removed using the TagResource and UntagResource API operations.
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.
These tags can be updated or removed using the TagResource and UntagResource API operations.
public CreateSchedulingPolicyRequest 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.
These tags can be updated or removed using the TagResource and UntagResource API operations.
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.
These tags can be updated or removed using the TagResource and UntagResource API operations.
public CreateSchedulingPolicyRequest addTagsEntry(String key, String value)
public CreateSchedulingPolicyRequest clearTagsEntries()
public String toString()
toString
in class Object
Object.toString()
public CreateSchedulingPolicyRequest clone()
AmazonWebServiceRequest
clone
in class AmazonWebServiceRequest
Object.clone()