@Generated(value="com.amazonaws:aws-java-sdk-code-generator") public class UpdateMonitorRequest extends AmazonWebServiceRequest implements Serializable, Cloneable
NOOP
Constructor and Description |
---|
UpdateMonitorRequest() |
Modifier and Type | Method and Description |
---|---|
UpdateMonitorRequest |
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()
The list of health score thresholds.
|
InternetMeasurementsLogDelivery |
getInternetMeasurementsLogDelivery()
Publish internet measurements for Internet Monitor to another location, such as an Amazon S3 bucket.
|
Integer |
getMaxCityNetworksToMonitor()
The maximum number of city-networks to monitor for your application.
|
String |
getMonitorName()
The name of the monitor.
|
List<String> |
getResourcesToAdd()
The resources to include in a monitor, which you provide as a set of Amazon Resource Names (ARNs).
|
List<String> |
getResourcesToRemove()
The resources to remove from a monitor, which you provide as a set of Amazon Resource Names (ARNs).
|
String |
getStatus()
The status 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)
The list of health score thresholds.
|
void |
setInternetMeasurementsLogDelivery(InternetMeasurementsLogDelivery internetMeasurementsLogDelivery)
Publish internet measurements for Internet Monitor to another location, such as an Amazon S3 bucket.
|
void |
setMaxCityNetworksToMonitor(Integer maxCityNetworksToMonitor)
The maximum number of city-networks to monitor for your application.
|
void |
setMonitorName(String monitorName)
The name of the monitor.
|
void |
setResourcesToAdd(Collection<String> resourcesToAdd)
The resources to include in a monitor, which you provide as a set of Amazon Resource Names (ARNs).
|
void |
setResourcesToRemove(Collection<String> resourcesToRemove)
The resources to remove from a monitor, which you provide as a set of Amazon Resource Names (ARNs).
|
void |
setStatus(String status)
The status 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.
|
UpdateMonitorRequest |
withClientToken(String clientToken)
A unique, case-sensitive string of up to 64 ASCII characters that you specify to make an idempotent API request.
|
UpdateMonitorRequest |
withHealthEventsConfig(HealthEventsConfig healthEventsConfig)
The list of health score thresholds.
|
UpdateMonitorRequest |
withInternetMeasurementsLogDelivery(InternetMeasurementsLogDelivery internetMeasurementsLogDelivery)
Publish internet measurements for Internet Monitor to another location, such as an Amazon S3 bucket.
|
UpdateMonitorRequest |
withMaxCityNetworksToMonitor(Integer maxCityNetworksToMonitor)
The maximum number of city-networks to monitor for your application.
|
UpdateMonitorRequest |
withMonitorName(String monitorName)
The name of the monitor.
|
UpdateMonitorRequest |
withResourcesToAdd(Collection<String> resourcesToAdd)
The resources to include in a monitor, which you provide as a set of Amazon Resource Names (ARNs).
|
UpdateMonitorRequest |
withResourcesToAdd(String... resourcesToAdd)
The resources to include in a monitor, which you provide as a set of Amazon Resource Names (ARNs).
|
UpdateMonitorRequest |
withResourcesToRemove(Collection<String> resourcesToRemove)
The resources to remove from a monitor, which you provide as a set of Amazon Resource Names (ARNs).
|
UpdateMonitorRequest |
withResourcesToRemove(String... resourcesToRemove)
The resources to remove from a monitor, which you provide as a set of Amazon Resource Names (ARNs).
|
UpdateMonitorRequest |
withStatus(MonitorConfigState status)
The status for a monitor.
|
UpdateMonitorRequest |
withStatus(String status)
The status for a monitor.
|
UpdateMonitorRequest |
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 UpdateMonitorRequest withMonitorName(String monitorName)
The name of the monitor.
monitorName
- The name of the monitor.public List<String> getResourcesToAdd()
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 Virtual Private Clouds 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 Virtual Private Clouds resources, at least one VPC must have an Internet Gateway attached to it, to make sure that it has internet connectivity.
public void setResourcesToAdd(Collection<String> resourcesToAdd)
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 Virtual Private Clouds resources, at least one VPC must have an Internet Gateway attached to it, to make sure that it has internet connectivity.
resourcesToAdd
- 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 Virtual Private Clouds resources, at least one VPC must have an Internet Gateway attached to it, to make sure that it has internet connectivity.
public UpdateMonitorRequest withResourcesToAdd(String... resourcesToAdd)
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 Virtual Private Clouds 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
setResourcesToAdd(java.util.Collection)
or withResourcesToAdd(java.util.Collection)
if you want
to override the existing values.
resourcesToAdd
- 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 Virtual Private Clouds resources, at least one VPC must have an Internet Gateway attached to it, to make sure that it has internet connectivity.
public UpdateMonitorRequest withResourcesToAdd(Collection<String> resourcesToAdd)
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 Virtual Private Clouds resources, at least one VPC must have an Internet Gateway attached to it, to make sure that it has internet connectivity.
resourcesToAdd
- 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 Virtual Private Clouds resources, at least one VPC must have an Internet Gateway attached to it, to make sure that it has internet connectivity.
public List<String> getResourcesToRemove()
The resources to remove from a monitor, which you provide as a set of Amazon Resource Names (ARNs).
public void setResourcesToRemove(Collection<String> resourcesToRemove)
The resources to remove from a monitor, which you provide as a set of Amazon Resource Names (ARNs).
resourcesToRemove
- The resources to remove from a monitor, which you provide as a set of Amazon Resource Names (ARNs).public UpdateMonitorRequest withResourcesToRemove(String... resourcesToRemove)
The resources to remove from a monitor, which you provide as a set of Amazon Resource Names (ARNs).
NOTE: This method appends the values to the existing list (if any). Use
setResourcesToRemove(java.util.Collection)
or withResourcesToRemove(java.util.Collection)
if
you want to override the existing values.
resourcesToRemove
- The resources to remove from a monitor, which you provide as a set of Amazon Resource Names (ARNs).public UpdateMonitorRequest withResourcesToRemove(Collection<String> resourcesToRemove)
The resources to remove from a monitor, which you provide as a set of Amazon Resource Names (ARNs).
resourcesToRemove
- The resources to remove from a monitor, which you provide as a set of Amazon Resource Names (ARNs).public void setStatus(String status)
The status for a monitor. The accepted values for Status
with the UpdateMonitor
API
call are the following: ACTIVE
and INACTIVE
. The following values are not
accepted: PENDING
, and ERROR
.
status
- The status for a monitor. The accepted values for Status
with the UpdateMonitor
API call are the following: ACTIVE
and INACTIVE
. The following values are
not accepted: PENDING
, and ERROR
.MonitorConfigState
public String getStatus()
The status for a monitor. The accepted values for Status
with the UpdateMonitor
API
call are the following: ACTIVE
and INACTIVE
. The following values are not
accepted: PENDING
, and ERROR
.
Status
with the UpdateMonitor
API call are the following: ACTIVE
and INACTIVE
. The following values are
not accepted: PENDING
, and ERROR
.MonitorConfigState
public UpdateMonitorRequest withStatus(String status)
The status for a monitor. The accepted values for Status
with the UpdateMonitor
API
call are the following: ACTIVE
and INACTIVE
. The following values are not
accepted: PENDING
, and ERROR
.
status
- The status for a monitor. The accepted values for Status
with the UpdateMonitor
API call are the following: ACTIVE
and INACTIVE
. The following values are
not accepted: PENDING
, and ERROR
.MonitorConfigState
public UpdateMonitorRequest withStatus(MonitorConfigState status)
The status for a monitor. The accepted values for Status
with the UpdateMonitor
API
call are the following: ACTIVE
and INACTIVE
. The following values are not
accepted: PENDING
, and ERROR
.
status
- The status for a monitor. The accepted values for Status
with the UpdateMonitor
API call are the following: ACTIVE
and INACTIVE
. The following values are
not accepted: PENDING
, and ERROR
.MonitorConfigState
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. You should not 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. You should not 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. You should not reuse the same client token for other API requests.
public UpdateMonitorRequest withClientToken(String clientToken)
A unique, case-sensitive string of up to 64 ASCII characters that you specify to make an idempotent API request. You should not 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. You should not reuse the same client token for other API requests.public void setMaxCityNetworksToMonitor(Integer maxCityNetworksToMonitor)
The maximum number of city-networks to monitor for your application. 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.
maxCityNetworksToMonitor
- The maximum number of city-networks to monitor for your application. 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.public Integer getMaxCityNetworksToMonitor()
The maximum number of city-networks to monitor for your application. 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.
public UpdateMonitorRequest withMaxCityNetworksToMonitor(Integer maxCityNetworksToMonitor)
The maximum number of city-networks to monitor for your application. 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.
maxCityNetworksToMonitor
- The maximum number of city-networks to monitor for your application. 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.public void setInternetMeasurementsLogDelivery(InternetMeasurementsLogDelivery internetMeasurementsLogDelivery)
Publish internet measurements for Internet Monitor to another location, such as an Amazon S3 bucket. The measurements are also published to Amazon CloudWatch Logs.
internetMeasurementsLogDelivery
- Publish internet measurements for Internet Monitor to another location, such as an Amazon S3 bucket. The
measurements are also published to Amazon CloudWatch Logs.public InternetMeasurementsLogDelivery getInternetMeasurementsLogDelivery()
Publish internet measurements for Internet Monitor to another location, such as an Amazon S3 bucket. The measurements are also published to Amazon CloudWatch Logs.
public UpdateMonitorRequest withInternetMeasurementsLogDelivery(InternetMeasurementsLogDelivery internetMeasurementsLogDelivery)
Publish internet measurements for Internet Monitor to another location, such as an Amazon S3 bucket. The measurements are also published to Amazon CloudWatch Logs.
internetMeasurementsLogDelivery
- Publish internet measurements for Internet Monitor to another location, such as an Amazon S3 bucket. The
measurements are also published to Amazon 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 UpdateMonitorRequest 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)
The list of health score thresholds. A threshold percentage for health scores, along with other configuration information, determines when Internet Monitor creates a health event when there's an internet issue that affects your application end users.
For more information, see Change health event thresholds in the Internet Monitor section of the CloudWatch User Guide.
healthEventsConfig
- The list of health score thresholds. A threshold percentage for health scores, along with other
configuration information, determines when Internet Monitor creates a health event when there's an
internet issue that affects your application end users.
For more information, see Change health event thresholds in the Internet Monitor section of the CloudWatch User Guide.
public HealthEventsConfig getHealthEventsConfig()
The list of health score thresholds. A threshold percentage for health scores, along with other configuration information, determines when Internet Monitor creates a health event when there's an internet issue that affects your application end users.
For more information, see Change health event thresholds in the Internet Monitor section of the CloudWatch User Guide.
For more information, see Change health event thresholds in the Internet Monitor section of the CloudWatch User Guide.
public UpdateMonitorRequest withHealthEventsConfig(HealthEventsConfig healthEventsConfig)
The list of health score thresholds. A threshold percentage for health scores, along with other configuration information, determines when Internet Monitor creates a health event when there's an internet issue that affects your application end users.
For more information, see Change health event thresholds in the Internet Monitor section of the CloudWatch User Guide.
healthEventsConfig
- The list of health score thresholds. A threshold percentage for health scores, along with other
configuration information, determines when Internet Monitor creates a health event when there's an
internet issue that affects your application end users.
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 UpdateMonitorRequest clone()
AmazonWebServiceRequest
clone
in class AmazonWebServiceRequest
Object.clone()