Interface CreateExperimentTemplateTargetInput.Builder

    • Method Detail

      • resourceType

        CreateExperimentTemplateTargetInput.Builder resourceType​(String 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

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

        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

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

        CreateExperimentTemplateTargetInput.Builder selectionMode​(String 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.