Interface Exclusions.Builder
-
- All Superinterfaces:
Buildable,CopyableBuilder<Exclusions.Builder,Exclusions>,SdkBuilder<Exclusions.Builder,Exclusions>,SdkPojo
- Enclosing class:
- Exclusions
public static interface Exclusions.Builder extends SdkPojo, CopyableBuilder<Exclusions.Builder,Exclusions>
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description Exclusions.BuilderexcludeBootVolumes(Boolean excludeBootVolumes)[Default policies for EBS snapshots only] Indicates whether to exclude volumes that are attached to instances as the boot volume.Exclusions.BuilderexcludeTags(Collection<Tag> excludeTags)[Default policies for EBS-backed AMIs only] Specifies whether to exclude volumes that have specific tags.Exclusions.BuilderexcludeTags(Consumer<Tag.Builder>... excludeTags)[Default policies for EBS-backed AMIs only] Specifies whether to exclude volumes that have specific tags.Exclusions.BuilderexcludeTags(Tag... excludeTags)[Default policies for EBS-backed AMIs only] Specifies whether to exclude volumes that have specific tags.Exclusions.BuilderexcludeVolumeTypes(String... excludeVolumeTypes)[Default policies for EBS snapshots only] Specifies the volume types to exclude.Exclusions.BuilderexcludeVolumeTypes(Collection<String> excludeVolumeTypes)[Default policies for EBS snapshots only] Specifies the volume types to exclude.-
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
-
excludeBootVolumes
Exclusions.Builder excludeBootVolumes(Boolean excludeBootVolumes)
[Default policies for EBS snapshots only] Indicates whether to exclude volumes that are attached to instances as the boot volume. If you exclude boot volumes, only volumes attached as data (non-boot) volumes will be backed up by the policy. To exclude boot volumes, specify
true.- Parameters:
excludeBootVolumes- [Default policies for EBS snapshots only] Indicates whether to exclude volumes that are attached to instances as the boot volume. If you exclude boot volumes, only volumes attached as data (non-boot) volumes will be backed up by the policy. To exclude boot volumes, specifytrue.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
excludeVolumeTypes
Exclusions.Builder excludeVolumeTypes(Collection<String> excludeVolumeTypes)
[Default policies for EBS snapshots only] Specifies the volume types to exclude. Volumes of the specified types will not be targeted by the policy.
- Parameters:
excludeVolumeTypes- [Default policies for EBS snapshots only] Specifies the volume types to exclude. Volumes of the specified types will not be targeted by the policy.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
excludeVolumeTypes
Exclusions.Builder excludeVolumeTypes(String... excludeVolumeTypes)
[Default policies for EBS snapshots only] Specifies the volume types to exclude. Volumes of the specified types will not be targeted by the policy.
- Parameters:
excludeVolumeTypes- [Default policies for EBS snapshots only] Specifies the volume types to exclude. Volumes of the specified types will not be targeted by the policy.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
excludeTags
Exclusions.Builder excludeTags(Collection<Tag> excludeTags)
[Default policies for EBS-backed AMIs only] Specifies whether to exclude volumes that have specific tags.
- Parameters:
excludeTags- [Default policies for EBS-backed AMIs only] Specifies whether to exclude volumes that have specific tags.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
excludeTags
Exclusions.Builder excludeTags(Tag... excludeTags)
[Default policies for EBS-backed AMIs only] Specifies whether to exclude volumes that have specific tags.
- Parameters:
excludeTags- [Default policies for EBS-backed AMIs only] Specifies whether to exclude volumes that have specific tags.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
excludeTags
Exclusions.Builder excludeTags(Consumer<Tag.Builder>... excludeTags)
[Default policies for EBS-backed AMIs only] Specifies whether to exclude volumes that have specific tags.
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#excludeTags(List.) - Parameters:
excludeTags- 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:
#excludeTags(java.util.Collection)
-
-