public static interface PutAttributesRequest.Builder extends ECSRequest.Builder, CopyableBuilder<PutAttributesRequest.Builder,PutAttributesRequest>
| Modifier and Type | Method and Description |
|---|---|
PutAttributesRequest.Builder |
attributes(Attribute... attributes)
The attributes to apply to your resource.
|
PutAttributesRequest.Builder |
attributes(Collection<Attribute> attributes)
The attributes to apply to your resource.
|
PutAttributesRequest.Builder |
attributes(Consumer<Attribute.Builder>... attributes)
The attributes to apply to your resource.
|
PutAttributesRequest.Builder |
cluster(String cluster)
The short name or full Amazon Resource Name (ARN) of the cluster that contains the resource to apply
attributes.
|
PutAttributesRequest.Builder |
requestOverrideConfig(AwsRequestOverrideConfig awsRequestOverrideConfig)
Add an optional request override configuration.
|
PutAttributesRequest.Builder |
requestOverrideConfig(Consumer<AwsRequestOverrideConfig.Builder> builderConsumer)
Add an optional request override configuration.
|
buildrequestOverrideConfigcopyapply, buildPutAttributesRequest.Builder cluster(String cluster)
The short name or full Amazon Resource Name (ARN) of the cluster that contains the resource to apply attributes. If you do not specify a cluster, the default cluster is assumed.
cluster - The short name or full Amazon Resource Name (ARN) of the cluster that contains the resource to apply
attributes. If you do not specify a cluster, the default cluster is assumed.PutAttributesRequest.Builder attributes(Collection<Attribute> attributes)
The attributes to apply to your resource. You can specify up to 10 custom attributes per resource. You can specify up to 10 attributes in a single call.
attributes - The attributes to apply to your resource. You can specify up to 10 custom attributes per resource. You
can specify up to 10 attributes in a single call.PutAttributesRequest.Builder attributes(Attribute... attributes)
The attributes to apply to your resource. You can specify up to 10 custom attributes per resource. You can specify up to 10 attributes in a single call.
attributes - The attributes to apply to your resource. You can specify up to 10 custom attributes per resource. You
can specify up to 10 attributes in a single call.PutAttributesRequest.Builder attributes(Consumer<Attribute.Builder>... attributes)
The attributes to apply to your resource. You can specify up to 10 custom attributes per resource. You can specify up to 10 attributes in a single call.
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) PutAttributesRequest.Builder requestOverrideConfig(AwsRequestOverrideConfig awsRequestOverrideConfig)
AwsRequest.BuilderrequestOverrideConfig in interface AwsRequest.BuilderawsRequestOverrideConfig - The override configuration.PutAttributesRequest.Builder requestOverrideConfig(Consumer<AwsRequestOverrideConfig.Builder> builderConsumer)
AwsRequest.BuilderrequestOverrideConfig in interface AwsRequest.BuilderbuilderConsumer - A Consumer to which an empty AwsRequestOverrideConfig.Builder will be given.Copyright © 2017 Amazon Web Services, Inc. All Rights Reserved.