Interface PutAttributesResponse.Builder
-
- All Superinterfaces:
AwsResponse.Builder,Buildable,CopyableBuilder<PutAttributesResponse.Builder,PutAttributesResponse>,EcsResponse.Builder,SdkBuilder<PutAttributesResponse.Builder,PutAttributesResponse>,SdkPojo,SdkResponse.Builder
- Enclosing class:
- PutAttributesResponse
public static interface PutAttributesResponse.Builder extends EcsResponse.Builder, SdkPojo, CopyableBuilder<PutAttributesResponse.Builder,PutAttributesResponse>
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description PutAttributesResponse.Builderattributes(Collection<Attribute> attributes)The attributes applied to your resource.PutAttributesResponse.Builderattributes(Consumer<Attribute.Builder>... attributes)The attributes applied to your resource.PutAttributesResponse.Builderattributes(Attribute... attributes)The attributes applied to your resource.-
Methods inherited from interface software.amazon.awssdk.utils.builder.CopyableBuilder
copy
-
Methods inherited from interface software.amazon.awssdk.services.ecs.model.EcsResponse.Builder
build, responseMetadata, responseMetadata
-
Methods inherited from interface software.amazon.awssdk.utils.builder.SdkBuilder
applyMutation, build
-
Methods inherited from interface software.amazon.awssdk.core.SdkPojo
equalsBySdkFields, sdkFields
-
Methods inherited from interface software.amazon.awssdk.core.SdkResponse.Builder
sdkHttpResponse, sdkHttpResponse
-
-
-
-
Method Detail
-
attributes
PutAttributesResponse.Builder attributes(Collection<Attribute> 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
PutAttributesResponse.Builder attributes(Attribute... 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
PutAttributesResponse.Builder attributes(Consumer<Attribute.Builder>... 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 to#attributes(List.) - 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:
#attributes(java.util.Collection)
-
-