@Generated(value="software.amazon.awssdk:codegen") public final class CreateExperimentTemplateTargetInput extends Object implements SdkPojo, Serializable, ToCopyableBuilder<CreateExperimentTemplateTargetInput.Builder,CreateExperimentTemplateTargetInput>
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 ARNs and tags.
| Modifier and Type | Class and Description |
|---|---|
static interface |
CreateExperimentTemplateTargetInput.Builder |
| Modifier and Type | Method and Description |
|---|---|
static CreateExperimentTemplateTargetInput.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 resources.
|
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 of the resources at random, or a percentage of the resources.
|
static Class<? extends CreateExperimentTemplateTargetInput.Builder> |
serializableBuilderClass() |
CreateExperimentTemplateTargetInput.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 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<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 of the resources at random, or a percentage of the resources. All identified resources are included in the target.
ALL - Run the action on all identified targets. This is the default.
COUNT(n) - Run the action on the specified number of targets, chosen from the identified targets at random. For example, COUNT(1) selects one of the targets.
PERCENT(n) - Run the action on the specified percentage of targets, chosen from the identified targets at random. For example, PERCENT(25) selects 25% of the targets.
ALL - Run the action on all identified targets. This is the default.
COUNT(n) - Run the action on the specified number of targets, chosen from the identified targets at random. For example, COUNT(1) selects one of the targets.
PERCENT(n) - Run the action on the specified percentage of targets, chosen from the identified targets at random. For example, PERCENT(25) selects 25% of the targets.
public CreateExperimentTemplateTargetInput.Builder toBuilder()
toBuilder in interface ToCopyableBuilder<CreateExperimentTemplateTargetInput.Builder,CreateExperimentTemplateTargetInput>public static CreateExperimentTemplateTargetInput.Builder builder()
public static Class<? extends CreateExperimentTemplateTargetInput.Builder> serializableBuilderClass()
public final boolean equalsBySdkFields(Object obj)
equalsBySdkFields in interface SdkPojopublic final String toString()
Copyright © 2021. All rights reserved.