Interface ListPolicyVersionsResponse.Builder

  • Method Details

    • nextToken

      If present, indicates that more output is available than is included in the current response. Use this value in the NextToken request parameter in a next call to the operation to get more output. You can repeat this until the NextToken response element returns null.

      Parameters:
      nextToken - If present, indicates that more output is available than is included in the current response. Use this value in the NextToken request parameter in a next call to the operation to get more output. You can repeat this until the NextToken response element returns null.
      Returns:
      Returns a reference to this object so that method calls can be chained together.
    • policyVersions

      An array of PolicyVersionSummary objects. Contains details for the version of the policies that define the permissions for team resources.

      The protected operation for a service integration might require specific permissions. For more information, see How other services work with Multi-party approval in the Multi-party approval User Guide.

      Parameters:
      policyVersions - An array of PolicyVersionSummary objects. Contains details for the version of the policies that define the permissions for team resources.

      The protected operation for a service integration might require specific permissions. For more information, see How other services work with Multi-party approval in the Multi-party approval User Guide.

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

      ListPolicyVersionsResponse.Builder policyVersions(PolicyVersionSummary... policyVersions)

      An array of PolicyVersionSummary objects. Contains details for the version of the policies that define the permissions for team resources.

      The protected operation for a service integration might require specific permissions. For more information, see How other services work with Multi-party approval in the Multi-party approval User Guide.

      Parameters:
      policyVersions - An array of PolicyVersionSummary objects. Contains details for the version of the policies that define the permissions for team resources.

      The protected operation for a service integration might require specific permissions. For more information, see How other services work with Multi-party approval in the Multi-party approval User Guide.

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

      An array of PolicyVersionSummary objects. Contains details for the version of the policies that define the permissions for team resources.

      The protected operation for a service integration might require specific permissions. For more information, see How other services work with Multi-party approval in the Multi-party approval User Guide.

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

      When the Consumer completes, SdkBuilder.build() is called immediately and its result is passed to policyVersions(List<PolicyVersionSummary>).

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