public static interface SpotFleetTagSpecification.Builder extends SdkPojo, CopyableBuilder<SpotFleetTagSpecification.Builder,SpotFleetTagSpecification>
| Modifier and Type | Method and Description |
|---|---|
SpotFleetTagSpecification.Builder |
resourceType(ResourceType resourceType)
The type of resource.
|
SpotFleetTagSpecification.Builder |
resourceType(String resourceType)
The type of resource.
|
SpotFleetTagSpecification.Builder |
tags(Collection<Tag> tags)
The tags.
|
SpotFleetTagSpecification.Builder |
tags(Consumer<Tag.Builder>... tags)
The tags.
|
SpotFleetTagSpecification.Builder |
tags(Tag... tags)
The tags.
|
equalsBySdkFields, sdkFieldscopyapplyMutation, buildSpotFleetTagSpecification.Builder resourceType(String resourceType)
The type of resource. Currently, the only resource type that is supported is instance. To tag
the Spot Fleet request on creation, use the TagSpecifications parameter in
SpotFleetRequestConfigData .
resourceType - The type of resource. Currently, the only resource type that is supported is instance. To
tag the Spot Fleet request on creation, use the TagSpecifications parameter in
SpotFleetRequestConfigData .ResourceType,
ResourceTypeSpotFleetTagSpecification.Builder resourceType(ResourceType resourceType)
The type of resource. Currently, the only resource type that is supported is instance. To tag
the Spot Fleet request on creation, use the TagSpecifications parameter in
SpotFleetRequestConfigData .
resourceType - The type of resource. Currently, the only resource type that is supported is instance. To
tag the Spot Fleet request on creation, use the TagSpecifications parameter in
SpotFleetRequestConfigData .ResourceType,
ResourceTypeSpotFleetTagSpecification.Builder tags(Collection<Tag> tags)
The tags.
tags - The tags.SpotFleetTagSpecification.Builder tags(Tag... tags)
The tags.
tags - The tags.SpotFleetTagSpecification.Builder tags(Consumer<Tag.Builder>... tags)
The tags.
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 #tags(List) .tags - a consumer that will call methods on List.Builder #tags(List) Copyright © 2022. All rights reserved.