@Generated(value="com.amazonaws:aws-java-sdk-code-generator") public class DeregisterTargetsRequest extends AmazonWebServiceRequest implements Serializable, Cloneable
NOOP
Constructor and Description |
---|
DeregisterTargetsRequest() |
Modifier and Type | Method and Description |
---|---|
DeregisterTargetsRequest |
clone()
Creates a shallow clone of this object for all fields except the handler context.
|
boolean |
equals(Object obj) |
String |
getTargetGroupArn()
The Amazon Resource Name (ARN) of the target group.
|
List<TargetDescription> |
getTargets()
The targets.
|
int |
hashCode() |
void |
setTargetGroupArn(String targetGroupArn)
The Amazon Resource Name (ARN) of the target group.
|
void |
setTargets(Collection<TargetDescription> targets)
The targets.
|
String |
toString()
Returns a string representation of this object; useful for testing and debugging.
|
DeregisterTargetsRequest |
withTargetGroupArn(String targetGroupArn)
The Amazon Resource Name (ARN) of the target group.
|
DeregisterTargetsRequest |
withTargets(Collection<TargetDescription> targets)
The targets.
|
DeregisterTargetsRequest |
withTargets(TargetDescription... targets)
The targets.
|
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 setTargetGroupArn(String targetGroupArn)
The Amazon Resource Name (ARN) of the target group.
targetGroupArn
- The Amazon Resource Name (ARN) of the target group.public String getTargetGroupArn()
The Amazon Resource Name (ARN) of the target group.
public DeregisterTargetsRequest withTargetGroupArn(String targetGroupArn)
The Amazon Resource Name (ARN) of the target group.
targetGroupArn
- The Amazon Resource Name (ARN) of the target group.public List<TargetDescription> getTargets()
The targets. If you specified a port override when you registered a target, you must specify both the target ID and the port when you deregister it.
public void setTargets(Collection<TargetDescription> targets)
The targets. If you specified a port override when you registered a target, you must specify both the target ID and the port when you deregister it.
targets
- The targets. If you specified a port override when you registered a target, you must specify both the
target ID and the port when you deregister it.public DeregisterTargetsRequest withTargets(TargetDescription... targets)
The targets. If you specified a port override when you registered a target, you must specify both the target ID and the port when you deregister it.
NOTE: This method appends the values to the existing list (if any). Use
setTargets(java.util.Collection)
or withTargets(java.util.Collection)
if you want to override
the existing values.
targets
- The targets. If you specified a port override when you registered a target, you must specify both the
target ID and the port when you deregister it.public DeregisterTargetsRequest withTargets(Collection<TargetDescription> targets)
The targets. If you specified a port override when you registered a target, you must specify both the target ID and the port when you deregister it.
targets
- The targets. If you specified a port override when you registered a target, you must specify both the
target ID and the port when you deregister it.public String toString()
toString
in class Object
Object.toString()
public DeregisterTargetsRequest clone()
AmazonWebServiceRequest
clone
in class AmazonWebServiceRequest
Object.clone()
Copyright © 2013 Amazon Web Services, Inc. All Rights Reserved.