@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 |
clone()
Creates a shallow clone of this object for all fields except the handler context.
|
boolean |
equals(Object obj) |
String |
getMonitorName()
The name of the monitor resource.
|
String |
getResourceArn()
The Amazon Resource Name (ARN) of the predictor to monitor.
|
List<Tag> |
getTags()
A list of tags to
apply to the monitor resource.
|
int |
hashCode() |
void |
setMonitorName(String monitorName)
The name of the monitor resource.
|
void |
setResourceArn(String resourceArn)
The Amazon Resource Name (ARN) of the predictor to monitor.
|
void |
setTags(Collection<Tag> tags)
A list of tags to
apply to the monitor resource.
|
String |
toString()
Returns a string representation of this object.
|
CreateMonitorRequest |
withMonitorName(String monitorName)
The name of the monitor resource.
|
CreateMonitorRequest |
withResourceArn(String resourceArn)
The Amazon Resource Name (ARN) of the predictor to monitor.
|
CreateMonitorRequest |
withTags(Collection<Tag> tags)
A list of tags to
apply to the monitor resource.
|
CreateMonitorRequest |
withTags(Tag... tags)
A list of tags to
apply to the monitor resource.
|
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 resource.
monitorName
- The name of the monitor resource.public String getMonitorName()
The name of the monitor resource.
public CreateMonitorRequest withMonitorName(String monitorName)
The name of the monitor resource.
monitorName
- The name of the monitor resource.public void setResourceArn(String resourceArn)
The Amazon Resource Name (ARN) of the predictor to monitor.
resourceArn
- The Amazon Resource Name (ARN) of the predictor to monitor.public String getResourceArn()
The Amazon Resource Name (ARN) of the predictor to monitor.
public CreateMonitorRequest withResourceArn(String resourceArn)
The Amazon Resource Name (ARN) of the predictor to monitor.
resourceArn
- The Amazon Resource Name (ARN) of the predictor to monitor.public List<Tag> getTags()
A list of tags to apply to the monitor resource.
public void setTags(Collection<Tag> tags)
A list of tags to apply to the monitor resource.
tags
- A list of tags to apply to
the monitor resource.public CreateMonitorRequest withTags(Tag... tags)
A list of tags to apply to the monitor resource.
NOTE: This method appends the values to the existing list (if any). Use
setTags(java.util.Collection)
or withTags(java.util.Collection)
if you want to override the
existing values.
tags
- A list of tags to apply to
the monitor resource.public CreateMonitorRequest withTags(Collection<Tag> tags)
A list of tags to apply to the monitor resource.
tags
- A list of tags to apply to
the monitor resource.public String toString()
toString
in class Object
Object.toString()
public CreateMonitorRequest clone()
AmazonWebServiceRequest
clone
in class AmazonWebServiceRequest
Object.clone()