Interface ListProfilesResponse.Builder

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

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

    • nextToken

      ListProfilesResponse.Builder nextToken(String nextToken)

      Returns a token that you can use to call ListProfiles again and receive additional results, if there are any.

      Parameters:
      nextToken - Returns a token that you can use to call ListProfiles again and receive additional results, if there are any.
      Returns:
      Returns a reference to this object so that method calls can be chained together.
    • profiles

      Returns an array, where each item contains the details of a profile.

      Parameters:
      profiles - Returns an array, where each item contains the details of a profile.
      Returns:
      Returns a reference to this object so that method calls can be chained together.
    • profiles

      Returns an array, where each item contains the details of a profile.

      Parameters:
      profiles - Returns an array, where each item contains the details of a profile.
      Returns:
      Returns a reference to this object so that method calls can be chained together.
    • profiles

      Returns an array, where each item contains the details of a profile.

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

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

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