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 Details

    • 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, specify true .
      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 the Tag.Builder avoiding the need to create one manually via Tag.builder().

      When the Consumer completes, SdkBuilder.build() is called immediately and its result is passed to excludeTags(List<Tag>).

      Parameters:
      excludeTags - a consumer that will call methods on Tag.Builder
      Returns:
      Returns a reference to this object so that method calls can be chained together.
      See Also: