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
All Methods Instance Methods Abstract Methods Modifier and Type Method Description ExperimentTemplateTarget.Builderfilters(Collection<ExperimentTemplateTargetFilter> filters)The filters to apply to identify target resources using specific attributes.ExperimentTemplateTarget.Builderfilters(Consumer<ExperimentTemplateTargetFilter.Builder>... filters)The filters to apply to identify target resources using specific attributes.ExperimentTemplateTarget.Builderfilters(ExperimentTemplateTargetFilter... filters)The filters to apply to identify target resources using specific attributes.ExperimentTemplateTarget.Builderparameters(Map<String,String> parameters)The resource type parameters.ExperimentTemplateTarget.BuilderresourceArns(String... resourceArns)The Amazon Resource Names (ARNs) of the targets.ExperimentTemplateTarget.BuilderresourceArns(Collection<String> resourceArns)The Amazon Resource Names (ARNs) of the targets.ExperimentTemplateTarget.BuilderresourceTags(Map<String,String> resourceTags)The tags for the target resources.ExperimentTemplateTarget.BuilderresourceType(String resourceType)The resource type.ExperimentTemplateTarget.BuilderselectionMode(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 Detail
-
resourceType
ExperimentTemplateTarget.Builder resourceType(String 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
ExperimentTemplateTarget.Builder resourceArns(Collection<String> 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
ExperimentTemplateTarget.Builder resourceArns(String... 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
ExperimentTemplateTarget.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
ExperimentTemplateTarget.Builder filters(Collection<ExperimentTemplateTargetFilter> 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(ExperimentTemplateTargetFilter... 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.Builderavoiding the need to create one manually viaExperimentTemplateTargetFilter.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 onExperimentTemplateTargetFilter.Builder- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
#filters(java.util.Collection)
-
selectionMode
ExperimentTemplateTarget.Builder selectionMode(String 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
ExperimentTemplateTarget.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.
-
-