JavaScript is disabled on your browser.
Skip navigation links

AWS SDK for Java 1.x API Reference - 1.12.795

We announced the upcoming end-of-support for AWS SDK for Java (v1). We recommend that you migrate to AWS SDK for Java v2. For dates, additional details, and information on how to migrate, please refer to the linked announcement.
com.amazonaws.services.batch.model

Class CreateSchedulingPolicyRequest

    • Constructor Detail

      • CreateSchedulingPolicyRequest

        public CreateSchedulingPolicyRequest()
    • Method Detail

      • setName

        public void setName(String name)

        The name of the scheduling policy. It can be up to 128 letters long. It can contain uppercase and lowercase letters, numbers, hyphens (-), and underscores (_).

        Parameters:
        name - The name of the scheduling policy. It can be up to 128 letters long. It can contain uppercase and lowercase letters, numbers, hyphens (-), and underscores (_).
      • getName

        public String getName()

        The name of the scheduling policy. It can be up to 128 letters long. It can contain uppercase and lowercase letters, numbers, hyphens (-), and underscores (_).

        Returns:
        The name of the scheduling policy. It can be up to 128 letters long. It can contain uppercase and lowercase letters, numbers, hyphens (-), and underscores (_).
      • withName

        public CreateSchedulingPolicyRequest withName(String name)

        The name of the scheduling policy. It can be up to 128 letters long. It can contain uppercase and lowercase letters, numbers, hyphens (-), and underscores (_).

        Parameters:
        name - The name of the scheduling policy. It can be up to 128 letters long. It can contain uppercase and lowercase letters, numbers, hyphens (-), and underscores (_).
        Returns:
        Returns a reference to this object so that method calls can be chained together.
      • setFairsharePolicy

        public void setFairsharePolicy(FairsharePolicy fairsharePolicy)

        The fair share policy of the scheduling policy.

        Parameters:
        fairsharePolicy - The fair share policy of the scheduling policy.
      • getFairsharePolicy

        public FairsharePolicy getFairsharePolicy()

        The fair share policy of the scheduling policy.

        Returns:
        The fair share policy of the scheduling policy.
      • withFairsharePolicy

        public CreateSchedulingPolicyRequest withFairsharePolicy(FairsharePolicy fairsharePolicy)

        The fair share policy of the scheduling policy.

        Parameters:
        fairsharePolicy - The fair share policy of the scheduling policy.
        Returns:
        Returns a reference to this object so that method calls can be chained together.
      • getTags

        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.

        Returns:
        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.

      • setTags

        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.

        Parameters:
        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.

      • withTags

        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.

        Parameters:
        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.

        Returns:
        Returns a reference to this object so that method calls can be chained together.
      • clearTagsEntries

        public CreateSchedulingPolicyRequest clearTagsEntries()
        Removes all the entries added into Tags.
        Returns:
        Returns a reference to this object so that method calls can be chained together.
      • toString

        public String toString()
        Returns a string representation of this object. This is useful for testing and debugging. Sensitive data will be redacted from this string using a placeholder value.
        Overrides:
        toString in class Object
        Returns:
        A string representation of this object.
        See Also:
        Object.toString()
Skip navigation links

AltStyle によって変換されたページ (->オリジナル) /