public static interface PutAttributesResponse.Builder extends EcsResponse.Builder, CopyableBuilder<PutAttributesResponse.Builder,PutAttributesResponse>
Modifier and Type | Method and Description |
---|---|
PutAttributesResponse.Builder |
attributes(Attribute... attributes)
The attributes applied to your resource.
|
PutAttributesResponse.Builder |
attributes(Collection<Attribute> attributes)
The attributes applied to your resource.
|
PutAttributesResponse.Builder |
attributes(Consumer<Attribute.Builder>... attributes)
The attributes applied to your resource.
|
build
sdkHttpResponse, sdkHttpResponse
copy
applyMutation, build
PutAttributesResponse.Builder attributes(Collection<Attribute> attributes)
The attributes applied to your resource.
attributes
- The attributes applied to your resource.PutAttributesResponse.Builder attributes(Attribute... attributes)
The attributes applied to your resource.
attributes
- The attributes applied to your resource.PutAttributesResponse.Builder attributes(Consumer<Attribute.Builder>... attributes)
The attributes applied to your resource.
This is a convenience that creates an instance of theList.Builder
avoiding the need to
create one manually via List#builder()
.
When the Consumer
completes, List.Builder#build()
is called immediately and its
result is passed to #attributes(List)
.attributes
- a consumer that will call methods on List.Builder
#attributes(List)
Copyright © 2017 Amazon Web Services, Inc. All Rights Reserved.