Interface Subscription.Builder

All Superinterfaces:
Buildable, CopyableBuilder<Subscription.Builder,Subscription>, SdkBuilder<Subscription.Builder,Subscription>, SdkPojo
Enclosing class:
Subscription

public static interface Subscription.Builder extends SdkPojo, CopyableBuilder<Subscription.Builder,Subscription>
  • Method Details

    • source

      Subscription.Builder source(String source)

      The Region or Availability Zone that's the source for the subscription. For example, us-east-1.

      Parameters:
      source - The Region or Availability Zone that's the source for the subscription. For example, us-east-1.
      Returns:
      Returns a reference to this object so that method calls can be chained together.
    • destination

      Subscription.Builder destination(String destination)

      The Region or Availability Zone that's the target for the subscription. For example, eu-west-1.

      Parameters:
      destination - The Region or Availability Zone that's the target for the subscription. For example, eu-west-1.
      Returns:
      Returns a reference to this object so that method calls can be chained together.
    • metric

      Subscription.Builder metric(String metric)

      The metric used for the subscription.

      Parameters:
      metric - The metric used for the subscription.
      Returns:
      Returns a reference to this object so that method calls can be chained together.
      See Also:
    • metric

      The metric used for the subscription.

      Parameters:
      metric - The metric used for the subscription.
      Returns:
      Returns a reference to this object so that method calls can be chained together.
      See Also:
    • statistic

      Subscription.Builder statistic(String statistic)

      The statistic used for the subscription.

      Parameters:
      statistic - The statistic used for the subscription.
      Returns:
      Returns a reference to this object so that method calls can be chained together.
      See Also:
    • statistic

      Subscription.Builder statistic(StatisticType statistic)

      The statistic used for the subscription.

      Parameters:
      statistic - The statistic used for the subscription.
      Returns:
      Returns a reference to this object so that method calls can be chained together.
      See Also:
    • period

      Subscription.Builder period(String period)

      The data aggregation time for the subscription.

      Parameters:
      period - The data aggregation time for the subscription.
      Returns:
      Returns a reference to this object so that method calls can be chained together.
      See Also:
    • period

      The data aggregation time for the subscription.

      Parameters:
      period - The data aggregation time for the subscription.
      Returns:
      Returns a reference to this object so that method calls can be chained together.
      See Also: