Class RemoveTargetsRequest
java.lang.Object
com.amazonaws.AmazonWebServiceRequest
com.amazonaws.services.cloudwatchevents.model.RemoveTargetsRequest
- All Implemented Interfaces:
ReadLimitInfo
,Serializable
,Cloneable
public class RemoveTargetsRequest
extends AmazonWebServiceRequest
implements Serializable, Cloneable
Container for the parameters to the RemoveTargets operation.
- See Also:
-
Field Summary
Fields inherited from class com.amazonaws.AmazonWebServiceRequest
NOOP
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionclone()
Creates a shallow clone of this request.boolean
getIds()
The list of target IDs to remove from the rule.getRule()
The name of the rule you want to remove targets from.int
hashCode()
void
setIds
(Collection<String> ids) The list of target IDs to remove from the rule.void
The name of the rule you want to remove targets from.toString()
Returns a string representation of this object; useful for testing and debugging.The list of target IDs to remove from the rule.withIds
(Collection<String> ids) The list of target IDs to remove from the rule.The name of the rule you want to remove targets from.Methods inherited from class com.amazonaws.AmazonWebServiceRequest
copyBaseTo, getCloneRoot, getCloneSource, getCustomQueryParameters, getCustomRequestHeaders, getGeneralProgressListener, getReadLimit, getRequestClientOptions, getRequestCredentials, getRequestCredentialsProvider, getRequestMetricCollector, getSdkClientExecutionTimeout, getSdkRequestTimeout, putCustomQueryParameter, putCustomRequestHeader, setGeneralProgressListener, setRequestCredentials, setRequestCredentialsProvider, setRequestMetricCollector, setSdkClientExecutionTimeout, setSdkRequestTimeout, withGeneralProgressListener, withRequestMetricCollector, withSdkClientExecutionTimeout, withSdkRequestTimeout
-
Constructor Details
-
RemoveTargetsRequest
public RemoveTargetsRequest()
-
-
Method Details
-
setRule
The name of the rule you want to remove targets from.
- Parameters:
rule
- The name of the rule you want to remove targets from.
-
getRule
The name of the rule you want to remove targets from.
- Returns:
- The name of the rule you want to remove targets from.
-
withRule
The name of the rule you want to remove targets from.
- Parameters:
rule
- The name of the rule you want to remove targets from.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
getIds
The list of target IDs to remove from the rule.
- Returns:
- The list of target IDs to remove from the rule.
-
setIds
The list of target IDs to remove from the rule.
- Parameters:
ids
- The list of target IDs to remove from the rule.
-
withIds
The list of target IDs to remove from the rule.
NOTE: This method appends the values to the existing list (if any). Use
setIds(java.util.Collection)
orwithIds(java.util.Collection)
if you want to override the existing values.- Parameters:
ids
- The list of target IDs to remove from the rule.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
withIds
The list of target IDs to remove from the rule.
- Parameters:
ids
- The list of target IDs to remove from the rule.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
toString
Returns a string representation of this object; useful for testing and debugging. -
equals
-
hashCode
public int hashCode() -
clone
Description copied from class:AmazonWebServiceRequest
Creates a shallow clone of this request. Explicitly does not clone the deep structure of the request object.- Overrides:
clone
in classAmazonWebServiceRequest
- See Also:
-