Interface CreateBrandProfileAttributesResponse.Builder
- All Superinterfaces:
AwsResponse.Builder,Buildable,CopyableBuilder<CreateBrandProfileAttributesResponse.Builder,,CreateBrandProfileAttributesResponse> EndUserMessagingResponse.Builder,SdkBuilder<CreateBrandProfileAttributesResponse.Builder,,CreateBrandProfileAttributesResponse> SdkPojo,SdkResponse.Builder
- Enclosing class:
CreateBrandProfileAttributesResponse
@Mutable
@NotThreadSafe
public static interface CreateBrandProfileAttributesResponse.Builder
extends EndUserMessagingResponse.Builder, SdkPojo, CopyableBuilder<CreateBrandProfileAttributesResponse.Builder,CreateBrandProfileAttributesResponse>
-
Method Summary
Modifier and TypeMethodDescriptionattributes(Collection<BrandProfileAttributeOutput> attributes) The brand profile attributes.attributes(Consumer<BrandProfileAttributeOutput.Builder>... attributes) The brand profile attributes.attributes(BrandProfileAttributeOutput... attributes) The brand profile attributes.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
-
attributes
CreateBrandProfileAttributesResponse.Builder attributes(Collection<BrandProfileAttributeOutput> attributes) The brand profile attributes.
- Parameters:
attributes- The brand profile attributes.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
attributes
The brand profile attributes.
- Parameters:
attributes- The brand profile attributes.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
attributes
CreateBrandProfileAttributesResponse.Builder attributes(Consumer<BrandProfileAttributeOutput.Builder>... attributes) The brand profile attributes.
This is a convenience method that creates an instance of theBrandProfileAttributeOutput.Builderavoiding the need to create one manually viaBrandProfileAttributeOutput.builder().When the
Consumercompletes,SdkBuilder.build()is called immediately and its result is passed toattributes(List<BrandProfileAttributeOutput>).- Parameters:
attributes- a consumer that will call methods onBrandProfileAttributeOutput.Builder- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-