Interface CreateExperimentTemplateTargetInput.Builder

All Superinterfaces:
Buildable, CopyableBuilder<CreateExperimentTemplateTargetInput.Builder,CreateExperimentTemplateTargetInput>, SdkBuilder<CreateExperimentTemplateTargetInput.Builder,CreateExperimentTemplateTargetInput>, SdkPojo
Enclosing class:
CreateExperimentTemplateTargetInput

public static interface CreateExperimentTemplateTargetInput.Builder extends SdkPojo, CopyableBuilder<CreateExperimentTemplateTargetInput.Builder,CreateExperimentTemplateTargetInput>
  • 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

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

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

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

      Parameters:
      filters - a consumer that will call methods on ExperimentTemplateTargetInputFilter.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.