Interface Parameters.Builder
- All Superinterfaces:
Buildable
,CopyableBuilder<Parameters.Builder,
,Parameters> SdkBuilder<Parameters.Builder,
,Parameters> SdkPojo
- Enclosing class:
Parameters
-
Method Summary
Modifier and TypeMethodDescriptionexcludeBootVolume
(Boolean excludeBootVolume) [Custom snapshot policies that target instances only] Indicates whether to exclude the root volume from multi-volume snapshot sets.excludeDataVolumeTags
(Collection<Tag> excludeDataVolumeTags) [Custom snapshot policies that target instances only] The tags used to identify data (non-root) volumes to exclude from multi-volume snapshot sets.excludeDataVolumeTags
(Consumer<Tag.Builder>... excludeDataVolumeTags) [Custom snapshot policies that target instances only] The tags used to identify data (non-root) volumes to exclude from multi-volume snapshot sets.excludeDataVolumeTags
(Tag... excludeDataVolumeTags) [Custom snapshot policies that target instances only] The tags used to identify data (non-root) volumes to exclude from multi-volume snapshot sets.[Custom AMI policies only] Indicates whether targeted instances are rebooted when the lifecycle policy runs.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, sdkFields
-
Method Details
-
excludeBootVolume
[Custom snapshot policies that target instances only] Indicates whether to exclude the root volume from multi-volume snapshot sets. The default is
false
. If you specifytrue
, then the root volumes attached to targeted instances will be excluded from the multi-volume snapshot sets created by the policy.- Parameters:
excludeBootVolume
- [Custom snapshot policies that target instances only] Indicates whether to exclude the root volume from multi-volume snapshot sets. The default isfalse
. If you specifytrue
, then the root volumes attached to targeted instances will be excluded from the multi-volume snapshot sets created by the policy.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
noReboot
[Custom AMI policies only] Indicates whether targeted instances are rebooted when the lifecycle policy runs.
true
indicates that targeted instances are not rebooted when the policy runs.false
indicates that target instances are rebooted when the policy runs. The default istrue
(instances are not rebooted).- Parameters:
noReboot
- [Custom AMI policies only] Indicates whether targeted instances are rebooted when the lifecycle policy runs.true
indicates that targeted instances are not rebooted when the policy runs.false
indicates that target instances are rebooted when the policy runs. The default istrue
(instances are not rebooted).- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
excludeDataVolumeTags
[Custom snapshot policies that target instances only] The tags used to identify data (non-root) volumes to exclude from multi-volume snapshot sets.
If you create a snapshot lifecycle policy that targets instances and you specify tags for this parameter, then data volumes with the specified tags that are attached to targeted instances will be excluded from the multi-volume snapshot sets created by the policy.
- Parameters:
excludeDataVolumeTags
- [Custom snapshot policies that target instances only] The tags used to identify data (non-root) volumes to exclude from multi-volume snapshot sets.If you create a snapshot lifecycle policy that targets instances and you specify tags for this parameter, then data volumes with the specified tags that are attached to targeted instances will be excluded from the multi-volume snapshot sets created by the policy.
- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
excludeDataVolumeTags
[Custom snapshot policies that target instances only] The tags used to identify data (non-root) volumes to exclude from multi-volume snapshot sets.
If you create a snapshot lifecycle policy that targets instances and you specify tags for this parameter, then data volumes with the specified tags that are attached to targeted instances will be excluded from the multi-volume snapshot sets created by the policy.
- Parameters:
excludeDataVolumeTags
- [Custom snapshot policies that target instances only] The tags used to identify data (non-root) volumes to exclude from multi-volume snapshot sets.If you create a snapshot lifecycle policy that targets instances and you specify tags for this parameter, then data volumes with the specified tags that are attached to targeted instances will be excluded from the multi-volume snapshot sets created by the policy.
- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
excludeDataVolumeTags
[Custom snapshot policies that target instances only] The tags used to identify data (non-root) volumes to exclude from multi-volume snapshot sets.
If you create a snapshot lifecycle policy that targets instances and you specify tags for this parameter, then data volumes with the specified tags that are attached to targeted instances will be excluded from the multi-volume snapshot sets created by the policy.
This is a convenience method that creates an instance of theTag.Builder
avoiding the need to create one manually viaTag.builder()
.When the
Consumer
completes,SdkBuilder.build()
is called immediately and its result is passed toexcludeDataVolumeTags(List<Tag>)
.- Parameters:
excludeDataVolumeTags
- a consumer that will call methods onTag.Builder
- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-