@Generated(value="com.amazonaws:aws-java-sdk-code-generator") public class CreateProbeRequest extends AmazonWebServiceRequest implements Serializable, Cloneable
NOOP
Constructor and Description |
---|
CreateProbeRequest() |
Modifier and Type | Method and Description |
---|---|
CreateProbeRequest |
addTagsEntry(String key,
String value)
Add a single Tags entry
|
CreateProbeRequest |
clearTagsEntries()
Removes all the entries added into Tags.
|
CreateProbeRequest |
clone()
Creates a shallow clone of this object for all fields except the handler context.
|
boolean |
equals(Object obj) |
String |
getClientToken()
Unique, case-sensitive identifier to ensure the idempotency of the request.
|
String |
getMonitorName()
The name of the monitor to associated with the probe.
|
ProbeInput |
getProbe()
Describes the details of an individual probe for a monitor.
|
Map<String,String> |
getTags()
The list of key-value pairs created and assigned to the probe.
|
int |
hashCode() |
void |
setClientToken(String clientToken)
Unique, case-sensitive identifier to ensure the idempotency of the request.
|
void |
setMonitorName(String monitorName)
The name of the monitor to associated with the probe.
|
void |
setProbe(ProbeInput probe)
Describes the details of an individual probe for a monitor.
|
void |
setTags(Map<String,String> tags)
The list of key-value pairs created and assigned to the probe.
|
String |
toString()
Returns a string representation of this object.
|
CreateProbeRequest |
withClientToken(String clientToken)
Unique, case-sensitive identifier to ensure the idempotency of the request.
|
CreateProbeRequest |
withMonitorName(String monitorName)
The name of the monitor to associated with the probe.
|
CreateProbeRequest |
withProbe(ProbeInput probe)
Describes the details of an individual probe for a monitor.
|
CreateProbeRequest |
withTags(Map<String,String> tags)
The list of key-value pairs created and assigned to the probe.
|
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 to associated with the probe. To get a list of available monitors, use
ListMonitors
.
monitorName
- The name of the monitor to associated with the probe. To get a list of available monitors, use
ListMonitors
.public String getMonitorName()
The name of the monitor to associated with the probe. To get a list of available monitors, use
ListMonitors
.
ListMonitors
.public CreateProbeRequest withMonitorName(String monitorName)
The name of the monitor to associated with the probe. To get a list of available monitors, use
ListMonitors
.
monitorName
- The name of the monitor to associated with the probe. To get a list of available monitors, use
ListMonitors
.public void setProbe(ProbeInput probe)
Describes the details of an individual probe for a monitor.
probe
- Describes the details of an individual probe for a monitor.public ProbeInput getProbe()
Describes the details of an individual probe for a monitor.
public CreateProbeRequest withProbe(ProbeInput probe)
Describes the details of an individual probe for a monitor.
probe
- Describes the details of an individual probe for a monitor.public void setClientToken(String clientToken)
Unique, case-sensitive identifier to ensure the idempotency of the request. Only returned if a client token was provided in the request.
clientToken
- Unique, case-sensitive identifier to ensure the idempotency of the request. Only returned if a client
token was provided in the request.public String getClientToken()
Unique, case-sensitive identifier to ensure the idempotency of the request. Only returned if a client token was provided in the request.
public CreateProbeRequest withClientToken(String clientToken)
Unique, case-sensitive identifier to ensure the idempotency of the request. Only returned if a client token was provided in the request.
clientToken
- Unique, case-sensitive identifier to ensure the idempotency of the request. Only returned if a client
token was provided in the request.public Map<String,String> getTags()
The list of key-value pairs created and assigned to the probe.
public void setTags(Map<String,String> tags)
The list of key-value pairs created and assigned to the probe.
tags
- The list of key-value pairs created and assigned to the probe.public CreateProbeRequest withTags(Map<String,String> tags)
The list of key-value pairs created and assigned to the probe.
tags
- The list of key-value pairs created and assigned to the probe.public CreateProbeRequest addTagsEntry(String key, String value)
public CreateProbeRequest clearTagsEntries()
public String toString()
toString
in class Object
Object.toString()
public CreateProbeRequest clone()
AmazonWebServiceRequest
clone
in class AmazonWebServiceRequest
Object.clone()