@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()
Creates a shallow clone of this object for all fields except the handler context.
|
boolean |
equals(Object obj) |
String |
getDestination()
The target Region (like
us-east-2 ) or Availability Zone ID (like use2-az2 ) 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 (like
us-east-1 ) or Availability Zone ID (like use1-az1 ) 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 (like
us-east-2 ) or Availability Zone ID (like use2-az2 ) 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 (like
us-east-1 ) or Availability Zone ID (like use1-az1 ) 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 (like
us-east-2 ) or Availability Zone ID (like use2-az2 ) 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 (like
us-east-1 ) or Availability Zone ID (like use1-az1 ) 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, 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, withSdkRequestTimeout
public EnableAwsNetworkPerformanceMetricSubscriptionRequest()
public void setSource(String source)
The source Region (like us-east-1
) or Availability Zone ID (like use1-az1
) that the
metric subscription is enabled for. If you use Availability Zone IDs, the Source and Destination Availability
Zones must be in the same Region.
source
- The source Region (like us-east-1
) or Availability Zone ID (like use1-az1
) that
the metric subscription is enabled for. If you use Availability Zone IDs, the Source and Destination
Availability Zones must be in the same Region.public String getSource()
The source Region (like us-east-1
) or Availability Zone ID (like use1-az1
) that the
metric subscription is enabled for. If you use Availability Zone IDs, the Source and Destination Availability
Zones must be in the same Region.
us-east-1
) or Availability Zone ID (like use1-az1
) that
the metric subscription is enabled for. If you use Availability Zone IDs, the Source and Destination
Availability Zones must be in the same Region.public EnableAwsNetworkPerformanceMetricSubscriptionRequest withSource(String source)
The source Region (like us-east-1
) or Availability Zone ID (like use1-az1
) that the
metric subscription is enabled for. If you use Availability Zone IDs, the Source and Destination Availability
Zones must be in the same Region.
source
- The source Region (like us-east-1
) or Availability Zone ID (like use1-az1
) that
the metric subscription is enabled for. If you use Availability Zone IDs, the Source and Destination
Availability Zones must be in the same Region.public void setDestination(String destination)
The target Region (like us-east-2
) or Availability Zone ID (like use2-az2
) that the
metric subscription is enabled for. If you use Availability Zone IDs, the Source and Destination Availability
Zones must be in the same Region.
destination
- The target Region (like us-east-2
) or Availability Zone ID (like use2-az2
) that
the metric subscription is enabled for. If you use Availability Zone IDs, the Source and Destination
Availability Zones must be in the same Region.public String getDestination()
The target Region (like us-east-2
) or Availability Zone ID (like use2-az2
) that the
metric subscription is enabled for. If you use Availability Zone IDs, the Source and Destination Availability
Zones must be in the same Region.
us-east-2
) or Availability Zone ID (like use2-az2
) that
the metric subscription is enabled for. If you use Availability Zone IDs, the Source and Destination
Availability Zones must be in the same Region.public EnableAwsNetworkPerformanceMetricSubscriptionRequest withDestination(String destination)
The target Region (like us-east-2
) or Availability Zone ID (like use2-az2
) that the
metric subscription is enabled for. If you use Availability Zone IDs, the Source and Destination Availability
Zones must be in the same Region.
destination
- The target Region (like us-east-2
) or Availability Zone ID (like use2-az2
) that
the metric subscription is enabled for. If you use Availability Zone IDs, the Source and Destination
Availability Zones must be in the same Region.public void setMetric(String metric)
The metric used for the enabled subscription.
metric
- The metric used for the enabled subscription.MetricType
public String getMetric()
The metric used for the enabled subscription.
MetricType
public EnableAwsNetworkPerformanceMetricSubscriptionRequest withMetric(String metric)
The metric used for the enabled subscription.
metric
- The metric used for the enabled subscription.MetricType
public EnableAwsNetworkPerformanceMetricSubscriptionRequest withMetric(MetricType metric)
The metric used for the enabled subscription.
metric
- The metric used for the enabled subscription.MetricType
public void setStatistic(String statistic)
The statistic used for the enabled subscription.
statistic
- The statistic used for the enabled subscription.StatisticType
public String getStatistic()
The statistic used for the enabled subscription.
StatisticType
public EnableAwsNetworkPerformanceMetricSubscriptionRequest withStatistic(String statistic)
The statistic used for the enabled subscription.
statistic
- The statistic used for the enabled subscription.StatisticType
public EnableAwsNetworkPerformanceMetricSubscriptionRequest withStatistic(StatisticType statistic)
The statistic used for the enabled subscription.
statistic
- The statistic used for the enabled subscription.StatisticType
public Request<EnableAwsNetworkPerformanceMetricSubscriptionRequest> getDryRunRequest()
getDryRunRequest
in interface DryRunSupportedRequest<EnableAwsNetworkPerformanceMetricSubscriptionRequest>
public String toString()
toString
in class Object
Object.toString()
public EnableAwsNetworkPerformanceMetricSubscriptionRequest clone()
AmazonWebServiceRequest
clone
in class AmazonWebServiceRequest
Object.clone()