Interface PutAttributesResponse.Builder
- All Superinterfaces:
AwsResponse.Builder,Buildable,CopyableBuilder<PutAttributesResponse.Builder,,PutAttributesResponse> EcsResponse.Builder,SdkBuilder<PutAttributesResponse.Builder,,PutAttributesResponse> SdkPojo,SdkResponse.Builder
- Enclosing class:
PutAttributesResponse
@Mutable
@NotThreadSafe
public static interface PutAttributesResponse.Builder
extends EcsResponse.Builder, SdkPojo, CopyableBuilder<PutAttributesResponse.Builder,PutAttributesResponse>
-
Method Summary
Modifier and TypeMethodDescriptionattributes(Collection<Attribute> attributes) The attributes applied to your resource.attributes(Consumer<Attribute.Builder>... attributes) The attributes applied to your resource.attributes(Attribute... attributes) The attributes applied to your resource.Methods inherited from interface software.amazon.awssdk.utils.builder.CopyableBuilder
copyMethods inherited from interface software.amazon.awssdk.services.ecs.model.EcsResponse.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
The attributes applied to your resource.
- Parameters:
attributes- The attributes applied to your resource.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
attributes
The attributes applied to your resource.
- Parameters:
attributes- The attributes applied to your resource.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
attributes
The attributes applied to your resource.
This is a convenience method that creates an instance of theAttribute.Builderavoiding the need to create one manually viaAttribute.builder().When the
Consumercompletes,SdkBuilder.build()is called immediately and its result is passed toattributes(List<Attribute>).- Parameters:
attributes- a consumer that will call methods onAttribute.Builder- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-