@Generated(value="com.amazonaws:aws-java-sdk-code-generator") public class GetMonitorRequest extends AmazonWebServiceRequest implements Serializable, Cloneable
NOOP
Constructor and Description |
---|
GetMonitorRequest() |
Modifier and Type | Method and Description |
---|---|
GetMonitorRequest |
clone()
Creates a shallow clone of this object for all fields except the handler context.
|
boolean |
equals(Object obj) |
String |
getLinkedAccountId()
The account ID for an account that you've set up cross-account sharing for in Amazon CloudWatch Internet Monitor.
|
String |
getMonitorName()
The name of the monitor.
|
int |
hashCode() |
void |
setLinkedAccountId(String linkedAccountId)
The account ID for an account that you've set up cross-account sharing for in Amazon CloudWatch Internet Monitor.
|
void |
setMonitorName(String monitorName)
The name of the monitor.
|
String |
toString()
Returns a string representation of this object.
|
GetMonitorRequest |
withLinkedAccountId(String linkedAccountId)
The account ID for an account that you've set up cross-account sharing for in Amazon CloudWatch Internet Monitor.
|
GetMonitorRequest |
withMonitorName(String monitorName)
The name of the 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 GetMonitorRequest withMonitorName(String monitorName)
The name of the monitor.
monitorName
- The name of the monitor.public void setLinkedAccountId(String linkedAccountId)
The account ID for an account that you've set up cross-account sharing for in Amazon CloudWatch Internet Monitor. You configure cross-account sharing by using Amazon CloudWatch Observability Access Manager. For more information, see Internet Monitor cross-account observability in the Amazon CloudWatch Internet Monitor User Guide.
linkedAccountId
- The account ID for an account that you've set up cross-account sharing for in Amazon CloudWatch Internet
Monitor. You configure cross-account sharing by using Amazon CloudWatch Observability Access Manager. For
more information, see Internet
Monitor cross-account observability in the Amazon CloudWatch Internet Monitor User Guide.public String getLinkedAccountId()
The account ID for an account that you've set up cross-account sharing for in Amazon CloudWatch Internet Monitor. You configure cross-account sharing by using Amazon CloudWatch Observability Access Manager. For more information, see Internet Monitor cross-account observability in the Amazon CloudWatch Internet Monitor User Guide.
public GetMonitorRequest withLinkedAccountId(String linkedAccountId)
The account ID for an account that you've set up cross-account sharing for in Amazon CloudWatch Internet Monitor. You configure cross-account sharing by using Amazon CloudWatch Observability Access Manager. For more information, see Internet Monitor cross-account observability in the Amazon CloudWatch Internet Monitor User Guide.
linkedAccountId
- The account ID for an account that you've set up cross-account sharing for in Amazon CloudWatch Internet
Monitor. You configure cross-account sharing by using Amazon CloudWatch Observability Access Manager. For
more information, see Internet
Monitor cross-account observability in the Amazon CloudWatch Internet Monitor User Guide.public String toString()
toString
in class Object
Object.toString()
public GetMonitorRequest clone()
AmazonWebServiceRequest
clone
in class AmazonWebServiceRequest
Object.clone()