Interface ExperimentTarget.Builder
- All Superinterfaces:
Buildable
,CopyableBuilder<ExperimentTarget.Builder,
,ExperimentTarget> SdkBuilder<ExperimentTarget.Builder,
,ExperimentTarget> SdkPojo
- Enclosing class:
ExperimentTarget
public static interface ExperimentTarget.Builder
extends SdkPojo, CopyableBuilder<ExperimentTarget.Builder,ExperimentTarget>
-
Method Summary
Modifier and TypeMethodDescriptionfilters
(Collection<ExperimentTargetFilter> filters) The filters to apply to identify target resources using specific attributes.filters
(Consumer<ExperimentTargetFilter.Builder>... filters) The filters to apply to identify target resources using specific attributes.filters
(ExperimentTargetFilter... 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 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 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
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
The filters to apply to identify target resources using specific attributes.
This is a convenience method that creates an instance of theExperimentTargetFilter.Builder
avoiding the need to create one manually viaExperimentTargetFilter.builder()
.When the
Consumer
completes,SdkBuilder.build()
is called immediately and its result is passed tofilters(List<ExperimentTargetFilter>)
.- Parameters:
filters
- a consumer that will call methods onExperimentTargetFilter.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.
-