@Generated(value="com.amazonaws:aws-java-sdk-code-generator") public class CreateMonitoringScheduleRequest extends AmazonWebServiceRequest implements Serializable, Cloneable
NOOP
Constructor and Description |
---|
CreateMonitoringScheduleRequest() |
Modifier and Type | Method and Description |
---|---|
CreateMonitoringScheduleRequest |
clone()
Creates a shallow clone of this object for all fields except the handler context.
|
boolean |
equals(Object obj) |
MonitoringScheduleConfig |
getMonitoringScheduleConfig()
The configuration object that specifies the monitoring schedule and defines the monitoring job.
|
String |
getMonitoringScheduleName()
The name of the monitoring schedule.
|
List<Tag> |
getTags()
(Optional) An array of key-value pairs.
|
int |
hashCode() |
void |
setMonitoringScheduleConfig(MonitoringScheduleConfig monitoringScheduleConfig)
The configuration object that specifies the monitoring schedule and defines the monitoring job.
|
void |
setMonitoringScheduleName(String monitoringScheduleName)
The name of the monitoring schedule.
|
void |
setTags(Collection<Tag> tags)
(Optional) An array of key-value pairs.
|
String |
toString()
Returns a string representation of this object.
|
CreateMonitoringScheduleRequest |
withMonitoringScheduleConfig(MonitoringScheduleConfig monitoringScheduleConfig)
The configuration object that specifies the monitoring schedule and defines the monitoring job.
|
CreateMonitoringScheduleRequest |
withMonitoringScheduleName(String monitoringScheduleName)
The name of the monitoring schedule.
|
CreateMonitoringScheduleRequest |
withTags(Collection<Tag> tags)
(Optional) An array of key-value pairs.
|
CreateMonitoringScheduleRequest |
withTags(Tag... tags)
(Optional) An array of key-value pairs.
|
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 setMonitoringScheduleName(String monitoringScheduleName)
The name of the monitoring schedule. The name must be unique within an Amazon Web Services Region within an Amazon Web Services account.
monitoringScheduleName
- The name of the monitoring schedule. The name must be unique within an Amazon Web Services Region within
an Amazon Web Services account.public String getMonitoringScheduleName()
The name of the monitoring schedule. The name must be unique within an Amazon Web Services Region within an Amazon Web Services account.
public CreateMonitoringScheduleRequest withMonitoringScheduleName(String monitoringScheduleName)
The name of the monitoring schedule. The name must be unique within an Amazon Web Services Region within an Amazon Web Services account.
monitoringScheduleName
- The name of the monitoring schedule. The name must be unique within an Amazon Web Services Region within
an Amazon Web Services account.public void setMonitoringScheduleConfig(MonitoringScheduleConfig monitoringScheduleConfig)
The configuration object that specifies the monitoring schedule and defines the monitoring job.
monitoringScheduleConfig
- The configuration object that specifies the monitoring schedule and defines the monitoring job.public MonitoringScheduleConfig getMonitoringScheduleConfig()
The configuration object that specifies the monitoring schedule and defines the monitoring job.
public CreateMonitoringScheduleRequest withMonitoringScheduleConfig(MonitoringScheduleConfig monitoringScheduleConfig)
The configuration object that specifies the monitoring schedule and defines the monitoring job.
monitoringScheduleConfig
- The configuration object that specifies the monitoring schedule and defines the monitoring job.public List<Tag> getTags()
(Optional) An array of key-value pairs. For more information, see Using Cost Allocation Tags in the Amazon Web Services Billing and Cost Management User Guide.
public void setTags(Collection<Tag> tags)
(Optional) An array of key-value pairs. For more information, see Using Cost Allocation Tags in the Amazon Web Services Billing and Cost Management User Guide.
tags
- (Optional) An array of key-value pairs. For more information, see Using Cost Allocation Tags in the Amazon Web Services Billing and Cost Management User Guide.public CreateMonitoringScheduleRequest withTags(Tag... tags)
(Optional) An array of key-value pairs. For more information, see Using Cost Allocation Tags in the Amazon Web Services Billing and Cost Management User Guide.
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
- (Optional) An array of key-value pairs. For more information, see Using Cost Allocation Tags in the Amazon Web Services Billing and Cost Management User Guide.public CreateMonitoringScheduleRequest withTags(Collection<Tag> tags)
(Optional) An array of key-value pairs. For more information, see Using Cost Allocation Tags in the Amazon Web Services Billing and Cost Management User Guide.
tags
- (Optional) An array of key-value pairs. For more information, see Using Cost Allocation Tags in the Amazon Web Services Billing and Cost Management User Guide.public String toString()
toString
in class Object
Object.toString()
public CreateMonitoringScheduleRequest clone()
AmazonWebServiceRequest
clone
in class AmazonWebServiceRequest
Object.clone()