Interface ExperimentTemplateTarget.Builder
- All Superinterfaces:
Buildable
,CopyableBuilder<ExperimentTemplateTarget.Builder,
,ExperimentTemplateTarget> SdkBuilder<ExperimentTemplateTarget.Builder,
,ExperimentTemplateTarget> SdkPojo
- Enclosing class:
ExperimentTemplateTarget
public static interface ExperimentTemplateTarget.Builder
extends SdkPojo, CopyableBuilder<ExperimentTemplateTarget.Builder,ExperimentTemplateTarget>
-
Method Summary
Modifier and TypeMethodDescriptionfilters
(Collection<ExperimentTemplateTargetFilter> filters) The filters to apply to identify target resources using specific attributes.filters
(Consumer<ExperimentTemplateTargetFilter.Builder>... filters) The filters to apply to identify target resources using specific attributes.filters
(ExperimentTemplateTargetFilter... 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 targets.resourceArns
(Collection<String> resourceArns) The Amazon Resource Names (ARNs) of the targets.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 or percentage.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 Details
-
resourceType
The resource type.
- Parameters:
resourceType
- The resource type.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
resourceArns
The Amazon Resource Names (ARNs) of the targets.
- Parameters:
resourceArns
- The Amazon Resource Names (ARNs) of the targets.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
resourceArns
The Amazon Resource Names (ARNs) of the targets.
- Parameters:
resourceArns
- The Amazon Resource Names (ARNs) of the targets.- 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
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
ExperimentTemplateTarget.Builder filters(Consumer<ExperimentTemplateTargetFilter.Builder>... filters) The filters to apply to identify target resources using specific attributes.
This is a convenience method that creates an instance of theExperimentTemplateTargetFilter.Builder
avoiding the need to create one manually viaExperimentTemplateTargetFilter.builder()
.When the
Consumer
completes,SdkBuilder.build()
is called immediately and its result is passed tofilters(List<ExperimentTemplateTargetFilter>)
.- Parameters:
filters
- a consumer that will call methods onExperimentTemplateTargetFilter.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 or percentage.
- Parameters:
selectionMode
- Scopes the identified resources to a specific count or percentage.- 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.
-