@Generated(value="com.amazonaws:aws-java-sdk-code-generator") public class EnableAwsNetworkPerformanceMetricSubscriptionRequest extends AmazonWebServiceRequest implements Serializable, Cloneable, DryRunSupportedRequest<EnableAwsNetworkPerformanceMetricSubscriptionRequest>
NOOP| Constructor and Description |
|---|
EnableAwsNetworkPerformanceMetricSubscriptionRequest() |
| Modifier and Type | Method and Description |
|---|---|
EnableAwsNetworkPerformanceMetricSubscriptionRequest |
clone() |
boolean |
equals(Object obj) |
String |
getDestination()
The target Region or Availability Zone that the metric subscription is enabled for.
|
Request<EnableAwsNetworkPerformanceMetricSubscriptionRequest> |
getDryRunRequest()
This method is intended for internal use only.
|
String |
getMetric()
The metric used for the enabled subscription.
|
String |
getSource()
The source Region or Availability Zone that the metric subscription is enabled for.
|
String |
getStatistic()
The statistic used for the enabled subscription.
|
int |
hashCode() |
void |
setDestination(String destination)
The target Region or Availability Zone that the metric subscription is enabled for.
|
void |
setMetric(String metric)
The metric used for the enabled subscription.
|
void |
setSource(String source)
The source Region or Availability Zone that the metric subscription is enabled for.
|
void |
setStatistic(String statistic)
The statistic used for the enabled subscription.
|
String |
toString()
Returns a string representation of this object.
|
EnableAwsNetworkPerformanceMetricSubscriptionRequest |
withDestination(String destination)
The target Region or Availability Zone that the metric subscription is enabled for.
|
EnableAwsNetworkPerformanceMetricSubscriptionRequest |
withMetric(MetricType metric)
The metric used for the enabled subscription.
|
EnableAwsNetworkPerformanceMetricSubscriptionRequest |
withMetric(String metric)
The metric used for the enabled subscription.
|
EnableAwsNetworkPerformanceMetricSubscriptionRequest |
withSource(String source)
The source Region or Availability Zone that the metric subscription is enabled for.
|
EnableAwsNetworkPerformanceMetricSubscriptionRequest |
withStatistic(StatisticType statistic)
The statistic used for the enabled subscription.
|
EnableAwsNetworkPerformanceMetricSubscriptionRequest |
withStatistic(String statistic)
The statistic used for the enabled subscription.
|
addHandlerContext, copyBaseTo, getCloneRoot, getCloneSource, getCustomQueryParameters, getCustomRequestHeaders, getGeneralProgressListener, getHandlerContext, getReadLimit, getRequestClientOptions, getRequestCredentials, getRequestCredentialsProvider, getRequestMetricCollector, getSdkClientExecutionTimeout, getSdkRequestTimeout, putCustomQueryParameter, putCustomRequestHeader, setGeneralProgressListener, setRequestCredentials, setRequestCredentialsProvider, setRequestMetricCollector, setSdkClientExecutionTimeout, setSdkRequestTimeout, withGeneralProgressListener, withRequestCredentialsProvider, withRequestMetricCollector, withSdkClientExecutionTimeout, withSdkRequestTimeoutpublic EnableAwsNetworkPerformanceMetricSubscriptionRequest()
public void setSource(String source)
The source Region or Availability Zone that the metric subscription is enabled for. For example,
us-east-1.
source - The source Region or Availability Zone that the metric subscription is enabled for. For example,
us-east-1.public String getSource()
The source Region or Availability Zone that the metric subscription is enabled for. For example,
us-east-1.
us-east-1.public EnableAwsNetworkPerformanceMetricSubscriptionRequest withSource(String source)
The source Region or Availability Zone that the metric subscription is enabled for. For example,
us-east-1.
source - The source Region or Availability Zone that the metric subscription is enabled for. For example,
us-east-1.public void setDestination(String destination)
The target Region or Availability Zone that the metric subscription is enabled for. For example,
eu-west-1.
destination - The target Region or Availability Zone that the metric subscription is enabled for. For example,
eu-west-1.public String getDestination()
The target Region or Availability Zone that the metric subscription is enabled for. For example,
eu-west-1.
eu-west-1.public EnableAwsNetworkPerformanceMetricSubscriptionRequest withDestination(String destination)
The target Region or Availability Zone that the metric subscription is enabled for. For example,
eu-west-1.
destination - The target Region or Availability Zone that the metric subscription is enabled for. For example,
eu-west-1.public void setMetric(String metric)
The metric used for the enabled subscription.
metric - The metric used for the enabled subscription.MetricTypepublic String getMetric()
The metric used for the enabled subscription.
MetricTypepublic EnableAwsNetworkPerformanceMetricSubscriptionRequest withMetric(String metric)
The metric used for the enabled subscription.
metric - The metric used for the enabled subscription.MetricTypepublic EnableAwsNetworkPerformanceMetricSubscriptionRequest withMetric(MetricType metric)
The metric used for the enabled subscription.
metric - The metric used for the enabled subscription.MetricTypepublic void setStatistic(String statistic)
The statistic used for the enabled subscription.
statistic - The statistic used for the enabled subscription.StatisticTypepublic String getStatistic()
The statistic used for the enabled subscription.
StatisticTypepublic EnableAwsNetworkPerformanceMetricSubscriptionRequest withStatistic(String statistic)
The statistic used for the enabled subscription.
statistic - The statistic used for the enabled subscription.StatisticTypepublic EnableAwsNetworkPerformanceMetricSubscriptionRequest withStatistic(StatisticType statistic)
The statistic used for the enabled subscription.
statistic - The statistic used for the enabled subscription.StatisticTypepublic Request<EnableAwsNetworkPerformanceMetricSubscriptionRequest> getDryRunRequest()
getDryRunRequest in interface DryRunSupportedRequest<EnableAwsNetworkPerformanceMetricSubscriptionRequest>public String toString()
toString in class ObjectObject.toString()public EnableAwsNetworkPerformanceMetricSubscriptionRequest clone()
clone in class AmazonWebServiceRequestCopyright © 2024. All rights reserved.