Interface CreateCurationPolicyRequest.Builder

  • Method Details

    • clientToken

      CreateCurationPolicyRequest.Builder clientToken(String clientToken)

      A unique, case-sensitive identifier that you provide to make the request idempotent. A retry with the same token and the same parameters returns the curation policy that the first request created. If you don't specify one, the AWS SDKs generate one.

      Parameters:
      clientToken - A unique, case-sensitive identifier that you provide to make the request idempotent. A retry with the same token and the same parameters returns the curation policy that the first request created. If you don't specify one, the AWS SDKs generate one.
      Returns:
      Returns a reference to this object so that method calls can be chained together.
    • name

      The name of the curation policy. 3 to 63 characters: it must start with a letter and can contain only ASCII letters, digits, and hyphens.

      Parameters:
      name - The name of the curation policy. 3 to 63 characters: it must start with a letter and can contain only ASCII letters, digits, and hyphens.
      Returns:
      Returns a reference to this object so that method calls can be chained together.
    • description

      CreateCurationPolicyRequest.Builder description(String description)

      A description of the curation policy. Up to 1,024 characters, with no control characters.

      Parameters:
      description - A description of the curation policy. Up to 1,024 characters, with no control characters.
      Returns:
      Returns a reference to this object so that method calls can be chained together.
    • policyDocument

      CreateCurationPolicyRequest.Builder policyDocument(String policyDocument)

      The policy's rules, as a Cedar policy document.

      Parameters:
      policyDocument - The policy's rules, as a Cedar policy document.
      Returns:
      Returns a reference to this object so that method calls can be chained together.
    • autoRejectAfterSeconds

      CreateCurationPolicyRequest.Builder autoRejectAfterSeconds(Long autoRejectAfterSeconds)

      The number of seconds that a curation proposal held for review under this policy can wait for a decision before it is rejected automatically. Valid range: 86,400 (1 day) to 15,552,000 (180 days). If you omit it, proposals held under this policy are never rejected automatically.

      Parameters:
      autoRejectAfterSeconds - The number of seconds that a curation proposal held for review under this policy can wait for a decision before it is rejected automatically. Valid range: 86,400 (1 day) to 15,552,000 (180 days). If you omit it, proposals held under this policy are never rejected automatically.
      Returns:
      Returns a reference to this object so that method calls can be chained together.
    • tags

      Tags to add to the curation policy when you create it: up to 200 in the request, of which at most 50 can be user tags. Keys can't start with aws:. To add tags, you also need context:TagResource permission on the new curation policy. If you specify more than 50 user tags, the request fails with ServiceQuotaExceededException, as on TagResource. If an AWS Organizations tag policy refuses a tag, the request fails with ValidationException.

      Parameters:
      tags - Tags to add to the curation policy when you create it: up to 200 in the request, of which at most 50 can be user tags. Keys can't start with aws:. To add tags, you also need context:TagResource permission on the new curation policy. If you specify more than 50 user tags, the request fails with ServiceQuotaExceededException, as on TagResource. If an AWS Organizations tag policy refuses a tag, the request fails with ValidationException.
      Returns:
      Returns a reference to this object so that method calls can be chained together.
    • overrideConfiguration

      CreateCurationPolicyRequest.Builder overrideConfiguration(AwsRequestOverrideConfiguration overrideConfiguration)
      Description copied from interface: AwsRequest.Builder
      Add an optional request override configuration.
      Specified by:
      overrideConfiguration in interface AwsRequest.Builder
      Parameters:
      overrideConfiguration - The override configuration.
      Returns:
      This object for method chaining.
    • overrideConfiguration

      Description copied from interface: AwsRequest.Builder
      Add an optional request override configuration.
      Specified by:
      overrideConfiguration in interface AwsRequest.Builder
      Parameters:
      builderConsumer - A Consumer to which an empty AwsRequestOverrideConfiguration.Builder will be given.
      Returns:
      This object for method chaining.