@Generated(value="com.amazonaws:aws-java-sdk-code-generator") public class CreateMonitorRequest extends AmazonWebServiceRequest implements Serializable, Cloneable
NOOP
Constructor and Description |
---|
CreateMonitorRequest() |
Modifier and Type | Method and Description |
---|---|
CreateMonitorRequest |
addTagsEntry(String key,
String value)
Add a single Tags entry
|
CreateMonitorRequest |
clearTagsEntries()
Removes all the entries added into Tags.
|
CreateMonitorRequest |
clone()
Creates a shallow clone of this object for all fields except the handler context.
|
boolean |
equals(Object obj) |
String |
getClientToken()
A unique, case-sensitive string of up to 64 ASCII characters that you specify to make an idempotent API request.
|
HealthEventsConfig |
getHealthEventsConfig()
Defines the threshold percentages and other configuration information for when Amazon CloudWatch Internet Monitor
creates a health event.
|
InternetMeasurementsLogDelivery |
getInternetMeasurementsLogDelivery()
Publish internet measurements for Internet Monitor to an Amazon S3 bucket in addition to CloudWatch Logs.
|
Integer |
getMaxCityNetworksToMonitor()
The maximum number of city-networks to monitor for your resources.
|
String |
getMonitorName()
The name of the monitor.
|
List<String> |
getResources()
The resources to include in a monitor, which you provide as a set of Amazon Resource Names (ARNs).
|
Map<String,String> |
getTags()
The tags for a monitor.
|
Integer |
getTrafficPercentageToMonitor()
The percentage of the internet-facing traffic for your application that you want to monitor with this monitor.
|
int |
hashCode() |
void |
setClientToken(String clientToken)
A unique, case-sensitive string of up to 64 ASCII characters that you specify to make an idempotent API request.
|
void |
setHealthEventsConfig(HealthEventsConfig healthEventsConfig)
Defines the threshold percentages and other configuration information for when Amazon CloudWatch Internet Monitor
creates a health event.
|
void |
setInternetMeasurementsLogDelivery(InternetMeasurementsLogDelivery internetMeasurementsLogDelivery)
Publish internet measurements for Internet Monitor to an Amazon S3 bucket in addition to CloudWatch Logs.
|
void |
setMaxCityNetworksToMonitor(Integer maxCityNetworksToMonitor)
The maximum number of city-networks to monitor for your resources.
|
void |
setMonitorName(String monitorName)
The name of the monitor.
|
void |
setResources(Collection<String> resources)
The resources to include in a monitor, which you provide as a set of Amazon Resource Names (ARNs).
|
void |
setTags(Map<String,String> tags)
The tags for a monitor.
|
void |
setTrafficPercentageToMonitor(Integer trafficPercentageToMonitor)
The percentage of the internet-facing traffic for your application that you want to monitor with this monitor.
|
String |
toString()
Returns a string representation of this object.
|
CreateMonitorRequest |
withClientToken(String clientToken)
A unique, case-sensitive string of up to 64 ASCII characters that you specify to make an idempotent API request.
|
CreateMonitorRequest |
withHealthEventsConfig(HealthEventsConfig healthEventsConfig)
Defines the threshold percentages and other configuration information for when Amazon CloudWatch Internet Monitor
creates a health event.
|
CreateMonitorRequest |
withInternetMeasurementsLogDelivery(InternetMeasurementsLogDelivery internetMeasurementsLogDelivery)
Publish internet measurements for Internet Monitor to an Amazon S3 bucket in addition to CloudWatch Logs.
|
CreateMonitorRequest |
withMaxCityNetworksToMonitor(Integer maxCityNetworksToMonitor)
The maximum number of city-networks to monitor for your resources.
|
CreateMonitorRequest |
withMonitorName(String monitorName)
The name of the monitor.
|
CreateMonitorRequest |
withResources(Collection<String> resources)
The resources to include in a monitor, which you provide as a set of Amazon Resource Names (ARNs).
|
CreateMonitorRequest |
withResources(String... resources)
The resources to include in a monitor, which you provide as a set of Amazon Resource Names (ARNs).
|
CreateMonitorRequest |
withTags(Map<String,String> tags)
The tags for a monitor.
|
CreateMonitorRequest |
withTrafficPercentageToMonitor(Integer trafficPercentageToMonitor)
The percentage of the internet-facing traffic for your application that you want to monitor with this monitor.
|
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 void setMonitorName(String monitorName)
The name of the monitor.
monitorName
- The name of the monitor.public String getMonitorName()
The name of the monitor.
public CreateMonitorRequest withMonitorName(String monitorName)
The name of the monitor.
monitorName
- The name of the monitor.public List<String> getResources()
The resources to include in a monitor, which you provide as a set of Amazon Resource Names (ARNs). Resources can be VPCs, NLBs, Amazon CloudFront distributions, or Amazon WorkSpaces directories.
You can add a combination of VPCs and CloudFront distributions, or you can add WorkSpaces directories, or you can add NLBs. You can't add NLBs or WorkSpaces directories together with any other resources.
If you add only Amazon VPC resources, at least one VPC must have an Internet Gateway attached to it, to make sure that it has internet connectivity.
You can add a combination of VPCs and CloudFront distributions, or you can add WorkSpaces directories, or you can add NLBs. You can't add NLBs or WorkSpaces directories together with any other resources.
If you add only Amazon VPC resources, at least one VPC must have an Internet Gateway attached to it, to make sure that it has internet connectivity.
public void setResources(Collection<String> resources)
The resources to include in a monitor, which you provide as a set of Amazon Resource Names (ARNs). Resources can be VPCs, NLBs, Amazon CloudFront distributions, or Amazon WorkSpaces directories.
You can add a combination of VPCs and CloudFront distributions, or you can add WorkSpaces directories, or you can add NLBs. You can't add NLBs or WorkSpaces directories together with any other resources.
If you add only Amazon VPC resources, at least one VPC must have an Internet Gateway attached to it, to make sure that it has internet connectivity.
resources
- The resources to include in a monitor, which you provide as a set of Amazon Resource Names (ARNs).
Resources can be VPCs, NLBs, Amazon CloudFront distributions, or Amazon WorkSpaces directories.
You can add a combination of VPCs and CloudFront distributions, or you can add WorkSpaces directories, or you can add NLBs. You can't add NLBs or WorkSpaces directories together with any other resources.
If you add only Amazon VPC resources, at least one VPC must have an Internet Gateway attached to it, to make sure that it has internet connectivity.
public CreateMonitorRequest withResources(String... resources)
The resources to include in a monitor, which you provide as a set of Amazon Resource Names (ARNs). Resources can be VPCs, NLBs, Amazon CloudFront distributions, or Amazon WorkSpaces directories.
You can add a combination of VPCs and CloudFront distributions, or you can add WorkSpaces directories, or you can add NLBs. You can't add NLBs or WorkSpaces directories together with any other resources.
If you add only Amazon VPC resources, at least one VPC must have an Internet Gateway attached to it, to make sure that it has internet connectivity.
NOTE: This method appends the values to the existing list (if any). Use
setResources(java.util.Collection)
or withResources(java.util.Collection)
if you want to
override the existing values.
resources
- The resources to include in a monitor, which you provide as a set of Amazon Resource Names (ARNs).
Resources can be VPCs, NLBs, Amazon CloudFront distributions, or Amazon WorkSpaces directories.
You can add a combination of VPCs and CloudFront distributions, or you can add WorkSpaces directories, or you can add NLBs. You can't add NLBs or WorkSpaces directories together with any other resources.
If you add only Amazon VPC resources, at least one VPC must have an Internet Gateway attached to it, to make sure that it has internet connectivity.
public CreateMonitorRequest withResources(Collection<String> resources)
The resources to include in a monitor, which you provide as a set of Amazon Resource Names (ARNs). Resources can be VPCs, NLBs, Amazon CloudFront distributions, or Amazon WorkSpaces directories.
You can add a combination of VPCs and CloudFront distributions, or you can add WorkSpaces directories, or you can add NLBs. You can't add NLBs or WorkSpaces directories together with any other resources.
If you add only Amazon VPC resources, at least one VPC must have an Internet Gateway attached to it, to make sure that it has internet connectivity.
resources
- The resources to include in a monitor, which you provide as a set of Amazon Resource Names (ARNs).
Resources can be VPCs, NLBs, Amazon CloudFront distributions, or Amazon WorkSpaces directories.
You can add a combination of VPCs and CloudFront distributions, or you can add WorkSpaces directories, or you can add NLBs. You can't add NLBs or WorkSpaces directories together with any other resources.
If you add only Amazon VPC resources, at least one VPC must have an Internet Gateway attached to it, to make sure that it has internet connectivity.
public void setClientToken(String clientToken)
A unique, case-sensitive string of up to 64 ASCII characters that you specify to make an idempotent API request. Don't reuse the same client token for other API requests.
clientToken
- A unique, case-sensitive string of up to 64 ASCII characters that you specify to make an idempotent API
request. Don't reuse the same client token for other API requests.public String getClientToken()
A unique, case-sensitive string of up to 64 ASCII characters that you specify to make an idempotent API request. Don't reuse the same client token for other API requests.
public CreateMonitorRequest withClientToken(String clientToken)
A unique, case-sensitive string of up to 64 ASCII characters that you specify to make an idempotent API request. Don't reuse the same client token for other API requests.
clientToken
- A unique, case-sensitive string of up to 64 ASCII characters that you specify to make an idempotent API
request. Don't reuse the same client token for other API requests.public Map<String,String> getTags()
The tags for a monitor. You can add a maximum of 50 tags in Internet Monitor.
public void setTags(Map<String,String> tags)
The tags for a monitor. You can add a maximum of 50 tags in Internet Monitor.
tags
- The tags for a monitor. You can add a maximum of 50 tags in Internet Monitor.public CreateMonitorRequest withTags(Map<String,String> tags)
The tags for a monitor. You can add a maximum of 50 tags in Internet Monitor.
tags
- The tags for a monitor. You can add a maximum of 50 tags in Internet Monitor.public CreateMonitorRequest addTagsEntry(String key, String value)
public CreateMonitorRequest clearTagsEntries()
public void setMaxCityNetworksToMonitor(Integer maxCityNetworksToMonitor)
The maximum number of city-networks to monitor for your resources. A city-network is the location (city) where clients access your application resources from and the ASN or network provider, such as an internet service provider (ISP), that clients access the resources through. Setting this limit can help control billing costs.
To learn more, see Choosing a city-network maximum value in the Amazon CloudWatch Internet Monitor section of the CloudWatch User Guide.
maxCityNetworksToMonitor
- The maximum number of city-networks to monitor for your resources. A city-network is the location (city)
where clients access your application resources from and the ASN or network provider, such as an internet
service provider (ISP), that clients access the resources through. Setting this limit can help control
billing costs.
To learn more, see Choosing a city-network maximum value in the Amazon CloudWatch Internet Monitor section of the CloudWatch User Guide.
public Integer getMaxCityNetworksToMonitor()
The maximum number of city-networks to monitor for your resources. A city-network is the location (city) where clients access your application resources from and the ASN or network provider, such as an internet service provider (ISP), that clients access the resources through. Setting this limit can help control billing costs.
To learn more, see Choosing a city-network maximum value in the Amazon CloudWatch Internet Monitor section of the CloudWatch User Guide.
To learn more, see Choosing a city-network maximum value in the Amazon CloudWatch Internet Monitor section of the CloudWatch User Guide.
public CreateMonitorRequest withMaxCityNetworksToMonitor(Integer maxCityNetworksToMonitor)
The maximum number of city-networks to monitor for your resources. A city-network is the location (city) where clients access your application resources from and the ASN or network provider, such as an internet service provider (ISP), that clients access the resources through. Setting this limit can help control billing costs.
To learn more, see Choosing a city-network maximum value in the Amazon CloudWatch Internet Monitor section of the CloudWatch User Guide.
maxCityNetworksToMonitor
- The maximum number of city-networks to monitor for your resources. A city-network is the location (city)
where clients access your application resources from and the ASN or network provider, such as an internet
service provider (ISP), that clients access the resources through. Setting this limit can help control
billing costs.
To learn more, see Choosing a city-network maximum value in the Amazon CloudWatch Internet Monitor section of the CloudWatch User Guide.
public void setInternetMeasurementsLogDelivery(InternetMeasurementsLogDelivery internetMeasurementsLogDelivery)
Publish internet measurements for Internet Monitor to an Amazon S3 bucket in addition to CloudWatch Logs.
internetMeasurementsLogDelivery
- Publish internet measurements for Internet Monitor to an Amazon S3 bucket in addition to CloudWatch Logs.public InternetMeasurementsLogDelivery getInternetMeasurementsLogDelivery()
Publish internet measurements for Internet Monitor to an Amazon S3 bucket in addition to CloudWatch Logs.
public CreateMonitorRequest withInternetMeasurementsLogDelivery(InternetMeasurementsLogDelivery internetMeasurementsLogDelivery)
Publish internet measurements for Internet Monitor to an Amazon S3 bucket in addition to CloudWatch Logs.
internetMeasurementsLogDelivery
- Publish internet measurements for Internet Monitor to an Amazon S3 bucket in addition to CloudWatch Logs.public void setTrafficPercentageToMonitor(Integer trafficPercentageToMonitor)
The percentage of the internet-facing traffic for your application that you want to monitor with this monitor. If you set a city-networks maximum, that limit overrides the traffic percentage that you set.
To learn more, see Choosing an application traffic percentage to monitor in the Amazon CloudWatch Internet Monitor section of the CloudWatch User Guide.
trafficPercentageToMonitor
- The percentage of the internet-facing traffic for your application that you want to monitor with this
monitor. If you set a city-networks maximum, that limit overrides the traffic percentage that you set.
To learn more, see Choosing an application traffic percentage to monitor in the Amazon CloudWatch Internet Monitor section of the CloudWatch User Guide.
public Integer getTrafficPercentageToMonitor()
The percentage of the internet-facing traffic for your application that you want to monitor with this monitor. If you set a city-networks maximum, that limit overrides the traffic percentage that you set.
To learn more, see Choosing an application traffic percentage to monitor in the Amazon CloudWatch Internet Monitor section of the CloudWatch User Guide.
To learn more, see Choosing an application traffic percentage to monitor in the Amazon CloudWatch Internet Monitor section of the CloudWatch User Guide.
public CreateMonitorRequest withTrafficPercentageToMonitor(Integer trafficPercentageToMonitor)
The percentage of the internet-facing traffic for your application that you want to monitor with this monitor. If you set a city-networks maximum, that limit overrides the traffic percentage that you set.
To learn more, see Choosing an application traffic percentage to monitor in the Amazon CloudWatch Internet Monitor section of the CloudWatch User Guide.
trafficPercentageToMonitor
- The percentage of the internet-facing traffic for your application that you want to monitor with this
monitor. If you set a city-networks maximum, that limit overrides the traffic percentage that you set.
To learn more, see Choosing an application traffic percentage to monitor in the Amazon CloudWatch Internet Monitor section of the CloudWatch User Guide.
public void setHealthEventsConfig(HealthEventsConfig healthEventsConfig)
Defines the threshold percentages and other configuration information for when Amazon CloudWatch Internet Monitor creates a health event. Internet Monitor creates a health event when an internet issue that affects your application end users has a health score percentage that is at or below a specific threshold, and, sometimes, when other criteria are met.
If you don't set a health event threshold, the default value is 95%.
For more information, see Change health event thresholds in the Internet Monitor section of the CloudWatch User Guide.
healthEventsConfig
- Defines the threshold percentages and other configuration information for when Amazon CloudWatch Internet
Monitor creates a health event. Internet Monitor creates a health event when an internet issue that
affects your application end users has a health score percentage that is at or below a specific threshold,
and, sometimes, when other criteria are met.
If you don't set a health event threshold, the default value is 95%.
For more information, see Change health event thresholds in the Internet Monitor section of the CloudWatch User Guide.
public HealthEventsConfig getHealthEventsConfig()
Defines the threshold percentages and other configuration information for when Amazon CloudWatch Internet Monitor creates a health event. Internet Monitor creates a health event when an internet issue that affects your application end users has a health score percentage that is at or below a specific threshold, and, sometimes, when other criteria are met.
If you don't set a health event threshold, the default value is 95%.
For more information, see Change health event thresholds in the Internet Monitor section of the CloudWatch User Guide.
If you don't set a health event threshold, the default value is 95%.
For more information, see Change health event thresholds in the Internet Monitor section of the CloudWatch User Guide.
public CreateMonitorRequest withHealthEventsConfig(HealthEventsConfig healthEventsConfig)
Defines the threshold percentages and other configuration information for when Amazon CloudWatch Internet Monitor creates a health event. Internet Monitor creates a health event when an internet issue that affects your application end users has a health score percentage that is at or below a specific threshold, and, sometimes, when other criteria are met.
If you don't set a health event threshold, the default value is 95%.
For more information, see Change health event thresholds in the Internet Monitor section of the CloudWatch User Guide.
healthEventsConfig
- Defines the threshold percentages and other configuration information for when Amazon CloudWatch Internet
Monitor creates a health event. Internet Monitor creates a health event when an internet issue that
affects your application end users has a health score percentage that is at or below a specific threshold,
and, sometimes, when other criteria are met.
If you don't set a health event threshold, the default value is 95%.
For more information, see Change health event thresholds in the Internet Monitor section of the CloudWatch User Guide.
public String toString()
toString
in class Object
Object.toString()
public CreateMonitorRequest clone()
AmazonWebServiceRequest
clone
in class AmazonWebServiceRequest
Object.clone()