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 Details

    • resourceType

      ExperimentTarget.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

      ExperimentTarget.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

      ExperimentTarget.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

      ExperimentTarget.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

      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 the ExperimentTargetFilter.Builder avoiding the need to create one manually via ExperimentTargetFilter.builder().

      When the Consumer completes, SdkBuilder.build() is called immediately and its result is passed to filters(List<ExperimentTargetFilter>).

      Parameters:
      filters - a consumer that will call methods on ExperimentTargetFilter.Builder
      Returns:
      Returns a reference to this object so that method calls can be chained together.
      See Also:
    • selectionMode

      ExperimentTarget.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

      ExperimentTarget.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.