@Generated(value="com.amazonaws:aws-java-sdk-code-generator") public class RemoveTargetsRequest extends AmazonWebServiceRequest implements Serializable, Cloneable
NOOP
Constructor and Description |
---|
RemoveTargetsRequest() |
Modifier and Type | Method and Description |
---|---|
RemoveTargetsRequest |
clone()
Creates a shallow clone of this object for all fields except the handler context.
|
boolean |
equals(Object obj) |
List<String> |
getIds()
The IDs of the targets to remove from the rule.
|
String |
getRule()
The name of the rule.
|
int |
hashCode() |
void |
setIds(Collection<String> ids)
The IDs of the targets to remove from the rule.
|
void |
setRule(String rule)
The name of the rule.
|
String |
toString()
Returns a string representation of this object; useful for testing and debugging.
|
RemoveTargetsRequest |
withIds(Collection<String> ids)
The IDs of the targets to remove from the rule.
|
RemoveTargetsRequest |
withIds(String... ids)
The IDs of the targets to remove from the rule.
|
RemoveTargetsRequest |
withRule(String rule)
The name of the rule.
|
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 setRule(String rule)
The name of the rule.
rule
- The name of the rule.public String getRule()
The name of the rule.
public RemoveTargetsRequest withRule(String rule)
The name of the rule.
rule
- The name of the rule.public List<String> getIds()
The IDs of the targets to remove from the rule.
public void setIds(Collection<String> ids)
The IDs of the targets to remove from the rule.
ids
- The IDs of the targets to remove from the rule.public RemoveTargetsRequest withIds(String... ids)
The IDs of the targets to remove from the rule.
NOTE: This method appends the values to the existing list (if any). Use
setIds(java.util.Collection)
or withIds(java.util.Collection)
if you want to override the
existing values.
ids
- The IDs of the targets to remove from the rule.public RemoveTargetsRequest withIds(Collection<String> ids)
The IDs of the targets to remove from the rule.
ids
- The IDs of the targets to remove from the rule.public String toString()
toString
in class Object
Object.toString()
public RemoveTargetsRequest clone()
AmazonWebServiceRequest
clone
in class AmazonWebServiceRequest
Object.clone()
Copyright © 2013 Amazon Web Services, Inc. All Rights Reserved.