Interface Parameters.Builder
-
- All Superinterfaces:
Buildable,CopyableBuilder<Parameters.Builder,Parameters>,SdkBuilder<Parameters.Builder,Parameters>,SdkPojo
- Enclosing class:
- Parameters
public static interface Parameters.Builder extends SdkPojo, CopyableBuilder<Parameters.Builder,Parameters>
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description Parameters.BuilderexcludeBootVolume(Boolean excludeBootVolume)[Snapshot policies that target instances only] Indicates whether to exclude the root volume from multi-volume snapshot sets.Parameters.BuilderexcludeDataVolumeTags(Collection<Tag> excludeDataVolumeTags)[Snapshot policies that target instances only] The tags used to identify data (non-root) volumes to exclude from multi-volume snapshot sets.Parameters.BuilderexcludeDataVolumeTags(Consumer<Tag.Builder>... excludeDataVolumeTags)[Snapshot policies that target instances only] The tags used to identify data (non-root) volumes to exclude from multi-volume snapshot sets.Parameters.BuilderexcludeDataVolumeTags(Tag... excludeDataVolumeTags)[Snapshot policies that target instances only] The tags used to identify data (non-root) volumes to exclude from multi-volume snapshot sets.Parameters.BuildernoReboot(Boolean noReboot)[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 Detail
-
excludeBootVolume
Parameters.Builder excludeBootVolume(Boolean excludeBootVolume)
[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- [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
Parameters.Builder noReboot(Boolean noReboot)
[AMI policies only] Indicates whether targeted instances are rebooted when the lifecycle policy runs.
trueindicates that targeted instances are not rebooted when the policy runs.falseindicates that target instances are rebooted when the policy runs. The default istrue(instances are not rebooted).- Parameters:
noReboot- [AMI policies only] Indicates whether targeted instances are rebooted when the lifecycle policy runs.trueindicates that targeted instances are not rebooted when the policy runs.falseindicates 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
Parameters.Builder excludeDataVolumeTags(Collection<Tag> excludeDataVolumeTags)
[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- [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
Parameters.Builder excludeDataVolumeTags(Tag... excludeDataVolumeTags)
[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- [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
Parameters.Builder excludeDataVolumeTags(Consumer<Tag.Builder>... excludeDataVolumeTags)
[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.Builderavoiding the need to create one manually viaTag.builder().When the
Consumercompletes,SdkBuilder.build()is called immediately and its result is passed to#excludeDataVolumeTags(List.) - 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:
#excludeDataVolumeTags(java.util.Collection)
-
-