Interface ListProfilesResponse.Builder

All Superinterfaces:
AwsResponse.Builder, B2BiResponse.Builder, Buildable, CopyableBuilder<ListProfilesResponse.Builder,ListProfilesResponse>, SdkBuilder<ListProfilesResponse.Builder,ListProfilesResponse>, SdkPojo, SdkResponse.Builder
Enclosing class:
ListProfilesResponse

public static interface ListProfilesResponse.Builder extends B2BiResponse.Builder, SdkPojo, CopyableBuilder<ListProfilesResponse.Builder,ListProfilesResponse>
  • Method Details

    • profiles

      Returns an array of ProfileSummary objects.

      Parameters:
      profiles - Returns an array of ProfileSummary objects.
      Returns:
      Returns a reference to this object so that method calls can be chained together.
    • profiles

      Returns an array of ProfileSummary objects.

      Parameters:
      profiles - Returns an array of ProfileSummary objects.
      Returns:
      Returns a reference to this object so that method calls can be chained together.
    • profiles

      Returns an array of ProfileSummary objects.

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

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

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

      ListProfilesResponse.Builder nextToken(String nextToken)

      When additional results are obtained from the command, a NextToken parameter is returned in the output. You can then pass the NextToken parameter in a subsequent command to continue listing additional resources.

      Parameters:
      nextToken - When additional results are obtained from the command, a NextToken parameter is returned in the output. You can then pass the NextToken parameter in a subsequent command to continue listing additional resources.
      Returns:
      Returns a reference to this object so that method calls can be chained together.