Interface ResourceTypeOption.Builder

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

@Mutable @NotThreadSafe public static interface ResourceTypeOption.Builder extends SdkPojo, CopyableBuilder<ResourceTypeOption.Builder,ResourceTypeOption>
  • Method Details

    • optionName

      ResourceTypeOption.Builder optionName(String optionName)

      The name of the option.

      • For ec2:Instance:

        Specify state-name - The current state of the EC2 instance.

      • For ec2:LaunchTemplate:

        Specify version-depth - The number of launch template versions to check, starting from the most recent version.

      Parameters:
      optionName - The name of the option.

      • For ec2:Instance:

        Specify state-name - The current state of the EC2 instance.

      • For ec2:LaunchTemplate:

        Specify version-depth - The number of launch template versions to check, starting from the most recent version.

      Returns:
      Returns a reference to this object so that method calls can be chained together.
      See Also:
    • optionName

      The name of the option.

      • For ec2:Instance:

        Specify state-name - The current state of the EC2 instance.

      • For ec2:LaunchTemplate:

        Specify version-depth - The number of launch template versions to check, starting from the most recent version.

      Parameters:
      optionName - The name of the option.

      • For ec2:Instance:

        Specify state-name - The current state of the EC2 instance.

      • For ec2:LaunchTemplate:

        Specify version-depth - The number of launch template versions to check, starting from the most recent version.

      Returns:
      Returns a reference to this object so that method calls can be chained together.
      See Also:
    • optionValues

      ResourceTypeOption.Builder optionValues(Collection<String> optionValues)

      A value for the specified option.

      • For state-name:

        • Valid values: pending | running | shutting-down | terminated | stopping | stopped

        • Default: All states

      • For version-depth:

        • Valid values: Integers between 1 and 10000

        • Default: 10

      Parameters:
      optionValues - A value for the specified option.

      • For state-name:

        • Valid values: pending | running | shutting-down | terminated | stopping | stopped

        • Default: All states

      • For version-depth:

        • Valid values: Integers between 1 and 10000

        • Default: 10

      Returns:
      Returns a reference to this object so that method calls can be chained together.
    • optionValues

      ResourceTypeOption.Builder optionValues(String... optionValues)

      A value for the specified option.

      • For state-name:

        • Valid values: pending | running | shutting-down | terminated | stopping | stopped

        • Default: All states

      • For version-depth:

        • Valid values: Integers between 1 and 10000

        • Default: 10

      Parameters:
      optionValues - A value for the specified option.

      • For state-name:

        • Valid values: pending | running | shutting-down | terminated | stopping | stopped

        • Default: All states

      • For version-depth:

        • Valid values: Integers between 1 and 10000

        • Default: 10

      Returns:
      Returns a reference to this object so that method calls can be chained together.