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 Details

    • 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 specify true, 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 is false. If you specify true, 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. 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 is true (instances are not rebooted).

      Parameters:
      noReboot - [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 is true (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 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 excludeDataVolumeTags(List<Tag>).

      Parameters:
      excludeDataVolumeTags - 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: