@Generated(value="com.amazonaws:aws-java-sdk-code-generator") public class RegisterTargetsRequest extends AmazonWebServiceRequest implements Serializable, Cloneable
NOOP| Constructor and Description |
|---|
RegisterTargetsRequest() |
| Modifier and Type | Method and Description |
|---|---|
RegisterTargetsRequest |
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.
|
RegisterTargetsRequest |
withTargetGroupArn(String targetGroupArn)
The Amazon Resource Name (ARN) of the target group.
|
RegisterTargetsRequest |
withTargets(Collection<TargetDescription> targets)
The targets.
|
RegisterTargetsRequest |
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, withRequestMetricCollector, withSdkClientExecutionTimeout, withSdkRequestTimeoutpublic 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 RegisterTargetsRequest 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. The default port for a target is the port for the target group. You can specify a port override. If a target is already registered, you can register it again using a different port.
public void setTargets(Collection<TargetDescription> targets)
The targets. The default port for a target is the port for the target group. You can specify a port override. If a target is already registered, you can register it again using a different port.
targets - The targets. The default port for a target is the port for the target group. You can specify a port
override. If a target is already registered, you can register it again using a different port.public RegisterTargetsRequest withTargets(TargetDescription... targets)
The targets. The default port for a target is the port for the target group. You can specify a port override. If a target is already registered, you can register it again using a different port.
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. The default port for a target is the port for the target group. You can specify a port
override. If a target is already registered, you can register it again using a different port.public RegisterTargetsRequest withTargets(Collection<TargetDescription> targets)
The targets. The default port for a target is the port for the target group. You can specify a port override. If a target is already registered, you can register it again using a different port.
targets - The targets. The default port for a target is the port for the target group. You can specify a port
override. If a target is already registered, you can register it again using a different port.public String toString()
toString in class ObjectObject.toString()public RegisterTargetsRequest clone()
AmazonWebServiceRequestclone in class AmazonWebServiceRequestObject.clone()Copyright © 2013 Amazon Web Services, Inc. All Rights Reserved.