Interface ListBrandProfilesResponse.Builder
- All Superinterfaces:
AwsResponse.Builder,Buildable,CopyableBuilder<ListBrandProfilesResponse.Builder,,ListBrandProfilesResponse> EndUserMessagingResponse.Builder,SdkBuilder<ListBrandProfilesResponse.Builder,,ListBrandProfilesResponse> SdkPojo,SdkResponse.Builder
- Enclosing class:
ListBrandProfilesResponse
@Mutable
@NotThreadSafe
public static interface ListBrandProfilesResponse.Builder
extends EndUserMessagingResponse.Builder, SdkPojo, CopyableBuilder<ListBrandProfilesResponse.Builder,ListBrandProfilesResponse>
-
Method Summary
Modifier and TypeMethodDescriptionbrandProfiles(Collection<BrandProfileInfo> brandProfiles) The list of brand profiles.brandProfiles(Consumer<BrandProfileInfo.Builder>... brandProfiles) The list of brand profiles.brandProfiles(BrandProfileInfo... brandProfiles) The list of brand profiles.The token to retrieve the next page of results.Methods inherited from interface software.amazon.awssdk.utils.builder.CopyableBuilder
copyMethods inherited from interface software.amazon.awssdk.services.endusermessaging.model.EndUserMessagingResponse.Builder
build, responseMetadata, responseMetadataMethods inherited from interface software.amazon.awssdk.utils.builder.SdkBuilder
applyMutation, buildMethods inherited from interface software.amazon.awssdk.core.SdkPojo
equalsBySdkFields, sdkFieldNameToField, sdkFieldsMethods inherited from interface software.amazon.awssdk.core.SdkResponse.Builder
sdkHttpResponse, sdkHttpResponse
-
Method Details
-
brandProfiles
The list of brand profiles.
- Parameters:
brandProfiles- The list of brand profiles.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
brandProfiles
The list of brand profiles.
- Parameters:
brandProfiles- The list of brand profiles.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
brandProfiles
ListBrandProfilesResponse.Builder brandProfiles(Consumer<BrandProfileInfo.Builder>... brandProfiles) The list of brand profiles.
This is a convenience method that creates an instance of theBrandProfileInfo.Builderavoiding the need to create one manually viaBrandProfileInfo.builder().When the
Consumercompletes,SdkBuilder.build()is called immediately and its result is passed tobrandProfiles(List<BrandProfileInfo>).- Parameters:
brandProfiles- a consumer that will call methods onBrandProfileInfo.Builder- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-
nextToken
The token to retrieve the next page of results. This value is returned when more results are available, and is null when there are no more results to return.
- Parameters:
nextToken- The token to retrieve the next page of results. This value is returned when more results are available, and is null when there are no more results to return.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-