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 Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description ResourceTypeOption.BuilderoptionName(String optionName)The name of the option.ResourceTypeOption.BuilderoptionName(ImageReferenceOptionName optionName)The name of the option.ResourceTypeOption.BuilderoptionValues(String... optionValues)A value for the specified option.ResourceTypeOption.BuilderoptionValues(Collection<String> optionValues)A value for the specified option.-
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, sdkFieldNameToField, sdkFields
-
-
-
-
Method Detail
-
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:
ImageReferenceOptionName,ImageReferenceOptionName
-
-
optionName
ResourceTypeOption.Builder optionName(ImageReferenceOptionName 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:
ImageReferenceOptionName,ImageReferenceOptionName
-
-
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
1and10000 -
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
1and10000 -
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
1and10000 -
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
1and10000 -
Default:
10
-
-
- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
-
-