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 Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description Subscription.Builder
destination(String destination)
The Region or Availability Zone that's the target for the subscription.Subscription.Builder
metric(String metric)
The metric used for the subscription.Subscription.Builder
metric(MetricType metric)
The metric used for the subscription.Subscription.Builder
period(String period)
The data aggregation time for the subscription.Subscription.Builder
period(PeriodType period)
The data aggregation time for the subscription.Subscription.Builder
source(String source)
The Region or Availability Zone that's the source for the subscription.Subscription.Builder
statistic(String statistic)
The statistic used for the subscription.Subscription.Builder
statistic(StatisticType statistic)
The statistic used for the subscription.-
Methods inherited from interface software.amazon.awssdk.utils.builder.CopyableBuilder
copy
-
Methods inherited from interface software.amazon.awssdk.utils.builder.SdkBuilder
applyMutation, build
-
Methods inherited from interface software.amazon.awssdk.core.SdkPojo
equalsBySdkFields, sdkFields
-
-
-
-
Method Detail
-
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:
MetricType
,MetricType
-
metric
Subscription.Builder metric(MetricType 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:
MetricType
,MetricType
-
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:
StatisticType
,StatisticType
-
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:
StatisticType
,StatisticType
-
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:
PeriodType
,PeriodType
-
period
Subscription.Builder period(PeriodType 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:
PeriodType
,PeriodType
-
-