Interface DescribeAccountPoliciesResponse.Builder

  • Method Details

    • accountPolicies

      An array of structures that contain information about the CloudWatch Logs account policies that match the specified filters.

      Parameters:
      accountPolicies - An array of structures that contain information about the CloudWatch Logs account policies that match the specified filters.
      Returns:
      Returns a reference to this object so that method calls can be chained together.
    • accountPolicies

      DescribeAccountPoliciesResponse.Builder accountPolicies(AccountPolicy... accountPolicies)

      An array of structures that contain information about the CloudWatch Logs account policies that match the specified filters.

      Parameters:
      accountPolicies - An array of structures that contain information about the CloudWatch Logs account policies that match the specified filters.
      Returns:
      Returns a reference to this object so that method calls can be chained together.
    • accountPolicies

      An array of structures that contain information about the CloudWatch Logs account policies that match the specified filters.

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

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

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

      The token to use when requesting the next set of items. The token expires after 24 hours.

      Parameters:
      nextToken - The token to use when requesting the next set of items. The token expires after 24 hours.
      Returns:
      Returns a reference to this object so that method calls can be chained together.