Interface CreateExperimentTemplateTargetInput.Builder
- All Superinterfaces:
Buildable,CopyableBuilder<CreateExperimentTemplateTargetInput.Builder,,CreateExperimentTemplateTargetInput> SdkBuilder<CreateExperimentTemplateTargetInput.Builder,,CreateExperimentTemplateTargetInput> SdkPojo
- Enclosing class:
CreateExperimentTemplateTargetInput
-
Method Summary
Modifier and TypeMethodDescriptionThe filters to apply to identify target resources using specific attributes.filters(Consumer<ExperimentTemplateTargetInputFilter.Builder>... filters) The filters to apply to identify target resources using specific attributes.filters(ExperimentTemplateTargetInputFilter... filters) The filters to apply to identify target resources using specific attributes.parameters(Map<String, String> parameters) The resource type parameters.resourceArns(String... resourceArns) The Amazon Resource Names (ARNs) of the resources.resourceArns(Collection<String> resourceArns) The Amazon Resource Names (ARNs) of the resources.resourceTags(Map<String, String> resourceTags) The tags for the target resources.resourceType(String resourceType) The resource type.selectionMode(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
copyMethods inherited from interface software.amazon.awssdk.utils.builder.SdkBuilder
applyMutation, buildMethods inherited from interface software.amazon.awssdk.core.SdkPojo
equalsBySdkFields, sdkFields
-
Method Details
-
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
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
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
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
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 tofilters(List<ExperimentTemplateTargetInputFilter>).- 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:
-
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
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.
-