@Generated(value="software.amazon.awssdk:codegen") public final class TagResourceRequest extends DeviceFarmRequest implements ToCopyableBuilder<TagResourceRequest.Builder,TagResourceRequest>
| Modifier and Type | Class and Description |
|---|---|
static interface |
TagResourceRequest.Builder |
| Modifier and Type | Method and Description |
|---|---|
static TagResourceRequest.Builder |
builder() |
boolean |
equals(Object obj) |
<T> Optional<T> |
getValueForField(String fieldName,
Class<T> clazz) |
int |
hashCode() |
String |
resourceARN()
The Amazon Resource Name (ARN) of the resource(s) to which to add tags.
|
List<SdkField<?>> |
sdkFields() |
static Class<? extends TagResourceRequest.Builder> |
serializableBuilderClass() |
List<Tag> |
tags()
The tags to add to the resource.
|
TagResourceRequest.Builder |
toBuilder() |
String |
toString()
Returns a string representation of this object.
|
overrideConfigurationclone, finalize, getClass, notify, notifyAll, wait, wait, waitcopypublic String resourceARN()
The Amazon Resource Name (ARN) of the resource(s) to which to add tags. You can associate tags with the following
Device Farm resources: PROJECT, RUN, NETWORK_PROFILE,
INSTANCE_PROFILE, DEVICE_INSTANCE, SESSION, DEVICE_POOL,
DEVICE, and VPCE_CONFIGURATION.
PROJECT, RUN, NETWORK_PROFILE,
INSTANCE_PROFILE, DEVICE_INSTANCE, SESSION,
DEVICE_POOL, DEVICE, and VPCE_CONFIGURATION.public List<Tag> tags()
The tags to add to the resource. A tag is an array of key-value pairs. Tag keys can have a maximum character length of 128 characters, and tag values can have a maximum length of 256 characters.
Attempts to modify the collection returned by this method will result in an UnsupportedOperationException.
public TagResourceRequest.Builder toBuilder()
toBuilder in interface ToCopyableBuilder<TagResourceRequest.Builder,TagResourceRequest>toBuilder in class DeviceFarmRequestpublic static TagResourceRequest.Builder builder()
public static Class<? extends TagResourceRequest.Builder> serializableBuilderClass()
public String toString()
public <T> Optional<T> getValueForField(String fieldName, Class<T> clazz)
getValueForField in class SdkRequestCopyright © 2019. All rights reserved.