@Generated(value="software.amazon.awssdk:codegen") public final class ExperimentTarget extends Object implements SdkPojo, Serializable, ToCopyableBuilder<ExperimentTarget.Builder,ExperimentTarget>
Describes a target for an experiment.
| Modifier and Type | Class and Description |
|---|---|
static interface |
ExperimentTarget.Builder |
| Modifier and Type | Method and Description |
|---|---|
static ExperimentTarget.Builder |
builder() |
boolean |
equals(Object obj) |
boolean |
equalsBySdkFields(Object obj) |
List<ExperimentTargetFilter> |
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 resources.
|
Map<String,String> |
resourceTags()
The tags for the target resources.
|
String |
resourceType()
The resource type.
|
List<SdkField<?>> |
sdkFields() |
String |
selectionMode()
Scopes the identified resources to a specific count or percentage.
|
static Class<? extends ExperimentTarget.Builder> |
serializableBuilderClass() |
ExperimentTarget.Builder |
toBuilder() |
String |
toString()
Returns a string representation of this object.
|
clone, finalize, getClass, notify, notifyAll, wait, wait, waitcopypublic final String resourceType()
The resource type.
public final boolean hasResourceArns()
public final List<String> resourceArns()
The Amazon Resource Names (ARNs) of the resources.
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<ExperimentTargetFilter> 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 ExperimentTarget.Builder toBuilder()
toBuilder in interface ToCopyableBuilder<ExperimentTarget.Builder,ExperimentTarget>public static ExperimentTarget.Builder builder()
public static Class<? extends ExperimentTarget.Builder> serializableBuilderClass()
public final boolean equalsBySdkFields(Object obj)
equalsBySdkFields in interface SdkPojopublic final String toString()
Copyright © 2021. All rights reserved.