Interface CreateExperimentTemplateTargetInput.Builder
-
- All Superinterfaces:
Buildable,CopyableBuilder<CreateExperimentTemplateTargetInput.Builder,CreateExperimentTemplateTargetInput>,SdkBuilder<CreateExperimentTemplateTargetInput.Builder,CreateExperimentTemplateTargetInput>,SdkPojo
- Enclosing class:
- CreateExperimentTemplateTargetInput
public static interface CreateExperimentTemplateTargetInput.Builder extends SdkPojo, CopyableBuilder<CreateExperimentTemplateTargetInput.Builder,CreateExperimentTemplateTargetInput>
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description CreateExperimentTemplateTargetInput.Builderfilters(Collection<ExperimentTemplateTargetInputFilter> filters)The filters to apply to identify target resources using specific attributes.CreateExperimentTemplateTargetInput.Builderfilters(Consumer<ExperimentTemplateTargetInputFilter.Builder>... filters)The filters to apply to identify target resources using specific attributes.CreateExperimentTemplateTargetInput.Builderfilters(ExperimentTemplateTargetInputFilter... filters)The filters to apply to identify target resources using specific attributes.CreateExperimentTemplateTargetInput.Builderparameters(Map<String,String> parameters)The resource type parameters.CreateExperimentTemplateTargetInput.BuilderresourceArns(String... resourceArns)The Amazon Resource Names (ARNs) of the resources.CreateExperimentTemplateTargetInput.BuilderresourceArns(Collection<String> resourceArns)The Amazon Resource Names (ARNs) of the resources.CreateExperimentTemplateTargetInput.BuilderresourceTags(Map<String,String> resourceTags)The tags for the target resources.CreateExperimentTemplateTargetInput.BuilderresourceType(String resourceType)The resource type.CreateExperimentTemplateTargetInput.BuilderselectionMode(String selectionMode)Scopes the identified resources to a specific count of the resources at random, or a percentage of the resources.-
Methods inherited from interface software.amazon.awssdk.utils.builder.CopyableBuilder
copy
-
Methods inherited from interface software.amazon.awssdk.utils.builder.SdkBuilder
applyMutation, build
-
Methods inherited from interface software.amazon.awssdk.core.SdkPojo
equalsBySdkFields, sdkFields
-
-
-
-
Method Detail
-
resourceType
CreateExperimentTemplateTargetInput.Builder resourceType(String resourceType)
The resource type. The resource type must be supported for the specified action.
- Parameters:
resourceType- The resource type. The resource type must be supported for the specified action.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
resourceArns
CreateExperimentTemplateTargetInput.Builder resourceArns(Collection<String> resourceArns)
The Amazon Resource Names (ARNs) of the resources.
- Parameters:
resourceArns- The Amazon Resource Names (ARNs) of the resources.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
resourceArns
CreateExperimentTemplateTargetInput.Builder resourceArns(String... resourceArns)
The Amazon Resource Names (ARNs) of the resources.
- Parameters:
resourceArns- The Amazon Resource Names (ARNs) of the resources.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
resourceTags
CreateExperimentTemplateTargetInput.Builder resourceTags(Map<String,String> resourceTags)
The tags for the target resources.
- Parameters:
resourceTags- The tags for the target resources.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
filters
CreateExperimentTemplateTargetInput.Builder filters(Collection<ExperimentTemplateTargetInputFilter> filters)
The filters to apply to identify target resources using specific attributes.
- Parameters:
filters- The filters to apply to identify target resources using specific attributes.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
filters
CreateExperimentTemplateTargetInput.Builder filters(ExperimentTemplateTargetInputFilter... filters)
The filters to apply to identify target resources using specific attributes.
- Parameters:
filters- The filters to apply to identify target resources using specific attributes.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
filters
CreateExperimentTemplateTargetInput.Builder filters(Consumer<ExperimentTemplateTargetInputFilter.Builder>... filters)
The filters to apply to identify target resources using specific attributes.
This is a convenience method that creates an instance of theExperimentTemplateTargetInputFilter.Builderavoiding the need to create one manually viaExperimentTemplateTargetInputFilter.builder().When the
Consumercompletes,SdkBuilder.build()is called immediately and its result is passed to#filters(List.) - Parameters:
filters- a consumer that will call methods onExperimentTemplateTargetInputFilter.Builder- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
#filters(java.util.Collection)
-
selectionMode
CreateExperimentTemplateTargetInput.Builder selectionMode(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.
- Parameters:
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.
-
- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
-
parameters
CreateExperimentTemplateTargetInput.Builder parameters(Map<String,String> parameters)
The resource type parameters.
- Parameters:
parameters- The resource type parameters.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
-