Interface UpdateApprovalPolicyRequest.Builder

  • Method Details

    • policyId

      The unique identifier of the approval policy to update.

      Parameters:
      policyId - The unique identifier of the approval policy to update.
      Returns:
      Returns a reference to this object so that method calls can be chained together.
    • name

      The name of the approval policy.

      Parameters:
      name - The name of the approval policy.
      Returns:
      Returns a reference to this object so that method calls can be chained together.
    • description

      UpdateApprovalPolicyRequest.Builder description(String description)

      A description of the approval policy.

      Parameters:
      description - A description of the approval policy.
      Returns:
      Returns a reference to this object so that method calls can be chained together.
    • actionsWithStrings

      The list of governed actions that trigger the approval workflow.

      Parameters:
      actions - The list of governed actions that trigger the approval workflow.
      Returns:
      Returns a reference to this object so that method calls can be chained together.
    • actionsWithStrings

      UpdateApprovalPolicyRequest.Builder actionsWithStrings(String... actions)

      The list of governed actions that trigger the approval workflow.

      Parameters:
      actions - The list of governed actions that trigger the approval workflow.
      Returns:
      Returns a reference to this object so that method calls can be chained together.
    • actions

      The list of governed actions that trigger the approval workflow.

      Parameters:
      actions - The list of governed actions that trigger the approval workflow.
      Returns:
      Returns a reference to this object so that method calls can be chained together.
    • actions

      The list of governed actions that trigger the approval workflow.

      Parameters:
      actions - The list of governed actions that trigger the approval workflow.
      Returns:
      Returns a reference to this object so that method calls can be chained together.
    • assetTypesWithStrings

      UpdateApprovalPolicyRequest.Builder assetTypesWithStrings(Collection<String> assetTypes)

      The list of asset types that the approval policy applies to.

      Parameters:
      assetTypes - The list of asset types that the approval policy applies to.
      Returns:
      Returns a reference to this object so that method calls can be chained together.
    • assetTypesWithStrings

      UpdateApprovalPolicyRequest.Builder assetTypesWithStrings(String... assetTypes)

      The list of asset types that the approval policy applies to.

      Parameters:
      assetTypes - The list of asset types that the approval policy applies to.
      Returns:
      Returns a reference to this object so that method calls can be chained together.
    • assetTypes

      The list of asset types that the approval policy applies to.

      Parameters:
      assetTypes - The list of asset types that the approval policy applies to.
      Returns:
      Returns a reference to this object so that method calls can be chained together.
    • assetTypes

      The list of asset types that the approval policy applies to.

      Parameters:
      assetTypes - The list of asset types that the approval policy applies to.
      Returns:
      Returns a reference to this object so that method calls can be chained together.
    • applicableTo

      The scoping configuration that determines who the approval policy applies to.

      Parameters:
      applicableTo - The scoping configuration that determines who the approval policy applies to.
      Returns:
      Returns a reference to this object so that method calls can be chained together.
    • applicableTo

      The scoping configuration that determines who the approval policy applies to.

      This is a convenience method that creates an instance of the ApplicableTo.Builder avoiding the need to create one manually via ApplicableTo.builder().

      When the Consumer completes, SdkBuilder.build() is called immediately and its result is passed to applicableTo(ApplicableTo).

      Parameters:
      applicableTo - a consumer that will call methods on ApplicableTo.Builder
      Returns:
      Returns a reference to this object so that method calls can be chained together.
      See Also:
    • approvalGroups

      UpdateApprovalPolicyRequest.Builder approvalGroups(Collection<String> approvalGroups)

      The list of group ARNs whose members can approve requests.

      Parameters:
      approvalGroups - The list of group ARNs whose members can approve requests.
      Returns:
      Returns a reference to this object so that method calls can be chained together.
    • approvalGroups

      UpdateApprovalPolicyRequest.Builder approvalGroups(String... approvalGroups)

      The list of group ARNs whose members can approve requests.

      Parameters:
      approvalGroups - The list of group ARNs whose members can approve requests.
      Returns:
      Returns a reference to this object so that method calls can be chained together.
    • overrideConfiguration

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