Interface Exclusions.Builder
- All Superinterfaces:
Buildable,CopyableBuilder<Exclusions.Builder,,Exclusions> SdkBuilder<Exclusions.Builder,,Exclusions> SdkPojo
- Enclosing class:
Exclusions
-
Method Summary
Modifier and TypeMethodDescriptionexcludeBootVolumes(Boolean excludeBootVolumes) [Default policies for EBS snapshots only] Indicates whether to exclude volumes that are attached to instances as the boot volume.excludeTags(Collection<Tag> excludeTags) [Default policies for EBS-backed AMIs only] Specifies whether to exclude volumes that have specific tags.excludeTags(Consumer<Tag.Builder>... excludeTags) [Default policies for EBS-backed AMIs only] Specifies whether to exclude volumes that have specific tags.excludeTags(Tag... excludeTags) [Default policies for EBS-backed AMIs only] Specifies whether to exclude volumes that have specific tags.excludeVolumeTypes(String... excludeVolumeTypes) [Default policies for EBS snapshots only] Specifies the volume types to exclude.excludeVolumeTypes(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
copyMethods inherited from interface software.amazon.awssdk.utils.builder.SdkBuilder
applyMutation, buildMethods inherited from interface software.amazon.awssdk.core.SdkPojo
equalsBySdkFields, sdkFields
-
Method Details
-
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
[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
[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
[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
[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
[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 toexcludeTags(List<Tag>).- 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:
-