Interface ListProfilesResponse.Builder

  • Method Details

    • nextToken

      ListProfilesResponse.Builder nextToken(String nextToken)

      If more than MaxResults resource associations match the specified criteria, you can submit another ListProfiles request to get the next group of results. In the next request, specify the value of NextToken from the previous response.

      Parameters:
      nextToken - If more than MaxResults resource associations match the specified criteria, you can submit another ListProfiles request to get the next group of results. In the next request, specify the value of NextToken from the previous response.
      Returns:
      Returns a reference to this object so that method calls can be chained together.
    • profileSummaries

      ListProfilesResponse.Builder profileSummaries(Collection<ProfileSummary> profileSummaries)

      Summary information about the Profiles.

      Parameters:
      profileSummaries - Summary information about the Profiles.
      Returns:
      Returns a reference to this object so that method calls can be chained together.
    • profileSummaries

      ListProfilesResponse.Builder profileSummaries(ProfileSummary... profileSummaries)

      Summary information about the Profiles.

      Parameters:
      profileSummaries - Summary information about the Profiles.
      Returns:
      Returns a reference to this object so that method calls can be chained together.
    • profileSummaries

      ListProfilesResponse.Builder profileSummaries(Consumer<ProfileSummary.Builder>... profileSummaries)

      Summary information about the Profiles.

      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 profileSummaries(List<ProfileSummary>).

      Parameters:
      profileSummaries - 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: