Interface CrossRegionCopyConfiguration.Builder

  • Method Details

    • copyInterval

      Specifies how often the policy copies snapshots to the destination Regions. The first cross-Region copy is created after the first snapshot of the volume completes in-region. After that, the policy copies cross-Region at the specified interval, each time copying the most recent completed snapshot of the volume.

      Parameters:
      copyInterval - Specifies how often the policy copies snapshots to the destination Regions. The first cross-Region copy is created after the first snapshot of the volume completes in-region. After that, the policy copies cross-Region at the specified interval, each time copying the most recent completed snapshot of the volume.
      Returns:
      Returns a reference to this object so that method calls can be chained together.
    • copyInterval

      Specifies how often the policy copies snapshots to the destination Regions. The first cross-Region copy is created after the first snapshot of the volume completes in-region. After that, the policy copies cross-Region at the specified interval, each time copying the most recent completed snapshot of the volume.

      This is a convenience method that creates an instance of the CopyInterval.Builder avoiding the need to create one manually via CopyInterval.builder().

      When the Consumer completes, SdkBuilder.build() is called immediately and its result is passed to copyInterval(CopyInterval).

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

      The destination Regions for the snapshot copies, specified as a list of CrossRegionCopyTarget. You can specify up to 3 destinations. You can specify each Region only once, and you can't specify the Region in which the policy is created.

      Parameters:
      destinations - The destination Regions for the snapshot copies, specified as a list of CrossRegionCopyTarget. You can specify up to 3 destinations. You can specify each Region only once, and you can't specify the Region in which the policy is created.
      Returns:
      Returns a reference to this object so that method calls can be chained together.
    • destinations

      The destination Regions for the snapshot copies, specified as a list of CrossRegionCopyTarget. You can specify up to 3 destinations. You can specify each Region only once, and you can't specify the Region in which the policy is created.

      Parameters:
      destinations - The destination Regions for the snapshot copies, specified as a list of CrossRegionCopyTarget. You can specify up to 3 destinations. You can specify each Region only once, and you can't specify the Region in which the policy is created.
      Returns:
      Returns a reference to this object so that method calls can be chained together.
    • destinations

      The destination Regions for the snapshot copies, specified as a list of CrossRegionCopyTarget. You can specify up to 3 destinations. You can specify each Region only once, and you can't specify the Region in which the policy is created.

      This is a convenience method that creates an instance of the CrossRegionCopyTarget.Builder avoiding the need to create one manually via CrossRegionCopyTarget.builder().

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

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