Interface EnableAwsNetworkPerformanceMetricSubscriptionRequest.Builder
-
- All Superinterfaces:
AwsRequest.Builder
,Buildable
,CopyableBuilder<EnableAwsNetworkPerformanceMetricSubscriptionRequest.Builder,EnableAwsNetworkPerformanceMetricSubscriptionRequest>
,Ec2Request.Builder
,SdkBuilder<EnableAwsNetworkPerformanceMetricSubscriptionRequest.Builder,EnableAwsNetworkPerformanceMetricSubscriptionRequest>
,SdkPojo
,SdkRequest.Builder
- Enclosing class:
- EnableAwsNetworkPerformanceMetricSubscriptionRequest
public static interface EnableAwsNetworkPerformanceMetricSubscriptionRequest.Builder extends Ec2Request.Builder, SdkPojo, CopyableBuilder<EnableAwsNetworkPerformanceMetricSubscriptionRequest.Builder,EnableAwsNetworkPerformanceMetricSubscriptionRequest>
-
-
Method Summary
-
Methods inherited from interface software.amazon.awssdk.awscore.AwsRequest.Builder
overrideConfiguration
-
Methods inherited from interface software.amazon.awssdk.utils.builder.CopyableBuilder
copy
-
Methods inherited from interface software.amazon.awssdk.services.ec2.model.Ec2Request.Builder
build
-
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
EnableAwsNetworkPerformanceMetricSubscriptionRequest.Builder source(String source)
The source Region or Availability Zone that the metric subscription is enabled for. For example,
us-east-1
.- Parameters:
source
- The source Region or Availability Zone that the metric subscription is enabled for. For example,us-east-1
.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
destination
EnableAwsNetworkPerformanceMetricSubscriptionRequest.Builder destination(String destination)
The target Region or Availability Zone that the metric subscription is enabled for. For example,
eu-west-1
.- Parameters:
destination
- The target Region or Availability Zone that the metric subscription is enabled for. For example,eu-west-1
.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
metric
EnableAwsNetworkPerformanceMetricSubscriptionRequest.Builder metric(String metric)
The metric used for the enabled subscription.
- Parameters:
metric
- The metric used for the enabled subscription.- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
MetricType
,MetricType
-
metric
EnableAwsNetworkPerformanceMetricSubscriptionRequest.Builder metric(MetricType metric)
The metric used for the enabled subscription.
- Parameters:
metric
- The metric used for the enabled subscription.- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
MetricType
,MetricType
-
statistic
EnableAwsNetworkPerformanceMetricSubscriptionRequest.Builder statistic(String statistic)
The statistic used for the enabled subscription.
- Parameters:
statistic
- The statistic used for the enabled subscription.- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
StatisticType
,StatisticType
-
statistic
EnableAwsNetworkPerformanceMetricSubscriptionRequest.Builder statistic(StatisticType statistic)
The statistic used for the enabled subscription.
- Parameters:
statistic
- The statistic used for the enabled subscription.- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
StatisticType
,StatisticType
-
dryRun
EnableAwsNetworkPerformanceMetricSubscriptionRequest.Builder dryRun(Boolean dryRun)
Checks whether you have the required permissions for the action, without actually making the request, and provides an error response. If you have the required permissions, the error response is
DryRunOperation
. Otherwise, it isUnauthorizedOperation
.- Parameters:
dryRun
- Checks whether you have the required permissions for the action, without actually making the request, and provides an error response. If you have the required permissions, the error response isDryRunOperation
. Otherwise, it isUnauthorizedOperation
.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
overrideConfiguration
EnableAwsNetworkPerformanceMetricSubscriptionRequest.Builder overrideConfiguration(AwsRequestOverrideConfiguration overrideConfiguration)
- Specified by:
overrideConfiguration
in interfaceAwsRequest.Builder
-
overrideConfiguration
EnableAwsNetworkPerformanceMetricSubscriptionRequest.Builder overrideConfiguration(Consumer<AwsRequestOverrideConfiguration.Builder> builderConsumer)
- Specified by:
overrideConfiguration
in interfaceAwsRequest.Builder
-
-