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
Modifier and TypeMethodDescriptiondestination
(String destination) The Region or Availability Zone that's the target for the subscription.The metric used for the subscription.metric
(MetricType metric) The metric used for the subscription.The data aggregation time for the subscription.period
(PeriodType period) The data aggregation time for the subscription.The Region or Availability Zone that's the source for the subscription.The statistic used for the subscription.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 Details
-
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
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
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
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
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
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:
-