Interface UpdateCurationPolicyRequest.Builder

  • Method Details

    • clientToken

      UpdateCurationPolicyRequest.Builder clientToken(String clientToken)

      Makes a retry safe: the same token with the same parameters returns the current policy instead of a ConflictException. A token used with different parameters is a ValidationException whose message names clientToken, checked first. A retry with the same parameters after the policy was deleted is a ConflictException.

      Parameters:
      clientToken - Makes a retry safe: the same token with the same parameters returns the current policy instead of a ConflictException. A token used with different parameters is a ValidationException whose message names clientToken, checked first. A retry with the same parameters after the policy was deleted is a ConflictException.
      Returns:
      Returns a reference to this object so that method calls can be chained together.
    • curationPolicyId

      UpdateCurationPolicyRequest.Builder curationPolicyId(String curationPolicyId)

      The ID of the curation policy to update.

      Parameters:
      curationPolicyId - The ID of the curation policy to update.
      Returns:
      Returns a reference to this object so that method calls can be chained together.
    • revisionId

      The revisionId of the working copy that you edited, as you last read it. If a concurrent edit advanced the revision, the request fails with ConflictException.

      Parameters:
      revisionId - The revisionId of the working copy that you edited, as you last read it. If a concurrent edit advanced the revision, the request fails with ConflictException.
      Returns:
      Returns a reference to this object so that method calls can be chained together.
    • name

      The new name. If you omit it, the name is unchanged. This operation updates only the members that you include. You can't use it to clear an optional member.

      Parameters:
      name - The new name. If you omit it, the name is unchanged. This operation updates only the members that you include. You can't use it to clear an optional member.
      Returns:
      Returns a reference to this object so that method calls can be chained together.
    • description

      UpdateCurationPolicyRequest.Builder description(String description)

      The new description. If you omit it, the description is unchanged.

      Parameters:
      description - The new description. If you omit it, the description is unchanged.
      Returns:
      Returns a reference to this object so that method calls can be chained together.
    • policyDocument

      UpdateCurationPolicyRequest.Builder policyDocument(String policyDocument)

      The new Cedar policy document. If you omit it, the document is unchanged.

      Parameters:
      policyDocument - The new Cedar policy document. If you omit it, the document is unchanged.
      Returns:
      Returns a reference to this object so that method calls can be chained together.
    • autoRejectAfterSeconds

      UpdateCurationPolicyRequest.Builder autoRejectAfterSeconds(Long autoRejectAfterSeconds)

      The new auto-reject window, in seconds, from 86,400 (1 day) to 15,552,000 (180 days). If you omit it, the window is unchanged. You can't clear it with this operation.

      Parameters:
      autoRejectAfterSeconds - The new auto-reject window, in seconds, from 86,400 (1 day) to 15,552,000 (180 days). If you omit it, the window is unchanged. You can't clear it with this operation.
      Returns:
      Returns a reference to this object so that method calls can be chained together.
    • overrideConfiguration

      UpdateCurationPolicyRequest.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.