@Generated(value="software.amazon.awssdk:codegen") public final class UpdateExperimentTemplateTargetInput extends Object implements SdkPojo, Serializable, ToCopyableBuilder<UpdateExperimentTemplateTargetInput.Builder,UpdateExperimentTemplateTargetInput>
Specifies a target for an experiment. You must specify at least one Amazon Resource Name (ARN) or at least one resource tag. You cannot specify both.
| Modifier and Type | Class and Description |
|---|---|
static interface |
UpdateExperimentTemplateTargetInput.Builder |
| Modifier and Type | Method and Description |
|---|---|
static UpdateExperimentTemplateTargetInput.Builder |
builder() |
boolean |
equals(Object obj) |
boolean |
equalsBySdkFields(Object obj) |
List<ExperimentTemplateTargetInputFilter> |
filters()
The filters to apply to identify target resources using specific attributes.
|
<T> Optional<T> |
getValueForField(String fieldName,
Class<T> clazz) |
boolean |
hasFilters()
Returns true if the Filters property was specified by the sender (it may be empty), or false if the sender did
not specify the value (it will be empty).
|
int |
hashCode() |
boolean |
hasResourceArns()
Returns true if the ResourceArns property was specified by the sender (it may be empty), or false if the sender
did not specify the value (it will be empty).
|
boolean |
hasResourceTags()
Returns true if the ResourceTags property was specified by the sender (it may be empty), or false if the sender
did not specify the value (it will be empty).
|
List<String> |
resourceArns()
The Amazon Resource Names (ARNs) of the targets.
|
Map<String,String> |
resourceTags()
The tags for the target resources.
|
String |
resourceType()
The AWS resource type.
|
List<SdkField<?>> |
sdkFields() |
String |
selectionMode()
Scopes the identified resources to a specific count or percentage.
|
static Class<? extends UpdateExperimentTemplateTargetInput.Builder> |
serializableBuilderClass() |
UpdateExperimentTemplateTargetInput.Builder |
toBuilder() |
String |
toString()
Returns a string representation of this object.
|
clone, finalize, getClass, notify, notifyAll, wait, wait, waitcopypublic final String resourceType()
The AWS resource type. The resource type must be supported for the specified action.
public final boolean hasResourceArns()
public final List<String> resourceArns()
The Amazon Resource Names (ARNs) of the targets.
Attempts to modify the collection returned by this method will result in an UnsupportedOperationException.
You can use hasResourceArns() to see if a value was sent in this field.
public final boolean hasResourceTags()
public final Map<String,String> resourceTags()
The tags for the target resources.
Attempts to modify the collection returned by this method will result in an UnsupportedOperationException.
You can use hasResourceTags() to see if a value was sent in this field.
public final boolean hasFilters()
public final List<ExperimentTemplateTargetInputFilter> filters()
The filters to apply to identify target resources using specific attributes.
Attempts to modify the collection returned by this method will result in an UnsupportedOperationException.
You can use hasFilters() to see if a value was sent in this field.
public final String selectionMode()
Scopes the identified resources to a specific count or percentage.
public UpdateExperimentTemplateTargetInput.Builder toBuilder()
toBuilder in interface ToCopyableBuilder<UpdateExperimentTemplateTargetInput.Builder,UpdateExperimentTemplateTargetInput>public static UpdateExperimentTemplateTargetInput.Builder builder()
public static Class<? extends UpdateExperimentTemplateTargetInput.Builder> serializableBuilderClass()
public final boolean equalsBySdkFields(Object obj)
equalsBySdkFields in interface SdkPojopublic final String toString()
Copyright © 2021. All rights reserved.