@Generated(value="com.amazonaws:aws-java-sdk-code-generator") public class DisableAwsNetworkPerformanceMetricSubscriptionRequest extends AmazonWebServiceRequest implements Serializable, Cloneable, DryRunSupportedRequest<DisableAwsNetworkPerformanceMetricSubscriptionRequest>
NOOP| Constructor and Description |
|---|
DisableAwsNetworkPerformanceMetricSubscriptionRequest() |
| Modifier and Type | Method and Description |
|---|---|
DisableAwsNetworkPerformanceMetricSubscriptionRequest |
clone()
Creates a shallow clone of this object for all fields except the handler context.
|
boolean |
equals(Object obj) |
String |
getDestination()
The target Region or Availability Zone that the metric subscription is disabled for.
|
Request<DisableAwsNetworkPerformanceMetricSubscriptionRequest> |
getDryRunRequest()
This method is intended for internal use only.
|
String |
getMetric()
The metric used for the disabled subscription.
|
String |
getSource()
The source Region or Availability Zone that the metric subscription is disabled for.
|
String |
getStatistic()
The statistic used for the disabled subscription.
|
int |
hashCode() |
void |
setDestination(String destination)
The target Region or Availability Zone that the metric subscription is disabled for.
|
void |
setMetric(String metric)
The metric used for the disabled subscription.
|
void |
setSource(String source)
The source Region or Availability Zone that the metric subscription is disabled for.
|
void |
setStatistic(String statistic)
The statistic used for the disabled subscription.
|
String |
toString()
Returns a string representation of this object.
|
DisableAwsNetworkPerformanceMetricSubscriptionRequest |
withDestination(String destination)
The target Region or Availability Zone that the metric subscription is disabled for.
|
DisableAwsNetworkPerformanceMetricSubscriptionRequest |
withMetric(MetricType metric)
The metric used for the disabled subscription.
|
DisableAwsNetworkPerformanceMetricSubscriptionRequest |
withMetric(String metric)
The metric used for the disabled subscription.
|
DisableAwsNetworkPerformanceMetricSubscriptionRequest |
withSource(String source)
The source Region or Availability Zone that the metric subscription is disabled for.
|
DisableAwsNetworkPerformanceMetricSubscriptionRequest |
withStatistic(StatisticType statistic)
The statistic used for the disabled subscription.
|
DisableAwsNetworkPerformanceMetricSubscriptionRequest |
withStatistic(String statistic)
The statistic used for the disabled subscription.
|
addHandlerContext, 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 DisableAwsNetworkPerformanceMetricSubscriptionRequest()
public void setSource(String source)
The source Region or Availability Zone that the metric subscription is disabled for. For example,
us-east-1.
source - The source Region or Availability Zone that the metric subscription is disabled for. For example,
us-east-1.public String getSource()
The source Region or Availability Zone that the metric subscription is disabled for. For example,
us-east-1.
us-east-1.public DisableAwsNetworkPerformanceMetricSubscriptionRequest withSource(String source)
The source Region or Availability Zone that the metric subscription is disabled for. For example,
us-east-1.
source - The source Region or Availability Zone that the metric subscription is disabled for. For example,
us-east-1.public void setDestination(String destination)
The target Region or Availability Zone that the metric subscription is disabled for. For example,
eu-north-1.
destination - The target Region or Availability Zone that the metric subscription is disabled for. For example,
eu-north-1.public String getDestination()
The target Region or Availability Zone that the metric subscription is disabled for. For example,
eu-north-1.
eu-north-1.public DisableAwsNetworkPerformanceMetricSubscriptionRequest withDestination(String destination)
The target Region or Availability Zone that the metric subscription is disabled for. For example,
eu-north-1.
destination - The target Region or Availability Zone that the metric subscription is disabled for. For example,
eu-north-1.public void setMetric(String metric)
The metric used for the disabled subscription.
metric - The metric used for the disabled subscription.MetricTypepublic String getMetric()
The metric used for the disabled subscription.
MetricTypepublic DisableAwsNetworkPerformanceMetricSubscriptionRequest withMetric(String metric)
The metric used for the disabled subscription.
metric - The metric used for the disabled subscription.MetricTypepublic DisableAwsNetworkPerformanceMetricSubscriptionRequest withMetric(MetricType metric)
The metric used for the disabled subscription.
metric - The metric used for the disabled subscription.MetricTypepublic void setStatistic(String statistic)
The statistic used for the disabled subscription.
statistic - The statistic used for the disabled subscription.StatisticTypepublic String getStatistic()
The statistic used for the disabled subscription.
StatisticTypepublic DisableAwsNetworkPerformanceMetricSubscriptionRequest withStatistic(String statistic)
The statistic used for the disabled subscription.
statistic - The statistic used for the disabled subscription.StatisticTypepublic DisableAwsNetworkPerformanceMetricSubscriptionRequest withStatistic(StatisticType statistic)
The statistic used for the disabled subscription.
statistic - The statistic used for the disabled subscription.StatisticTypepublic Request<DisableAwsNetworkPerformanceMetricSubscriptionRequest> getDryRunRequest()
getDryRunRequest in interface DryRunSupportedRequest<DisableAwsNetworkPerformanceMetricSubscriptionRequest>public String toString()
toString in class ObjectObject.toString()public DisableAwsNetworkPerformanceMetricSubscriptionRequest clone()
AmazonWebServiceRequestclone in class AmazonWebServiceRequestObject.clone()