@Generated(value="com.amazonaws:aws-java-sdk-code-generator") public class DescribeTargetHealthRequest extends AmazonWebServiceRequest implements Serializable, Cloneable
NOOP
Constructor and Description |
---|
DescribeTargetHealthRequest() |
Modifier and Type | Method and Description |
---|---|
DescribeTargetHealthRequest |
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.
|
DescribeTargetHealthRequest |
withTargetGroupArn(String targetGroupArn)
The Amazon Resource Name (ARN) of the target group.
|
DescribeTargetHealthRequest |
withTargets(Collection<TargetDescription> targets)
The targets.
|
DescribeTargetHealthRequest |
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 DescribeTargetHealthRequest 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.
public void setTargets(Collection<TargetDescription> targets)
The targets.
targets
- The targets.public DescribeTargetHealthRequest withTargets(TargetDescription... targets)
The targets.
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.public DescribeTargetHealthRequest withTargets(Collection<TargetDescription> targets)
The targets.
targets
- The targets.public String toString()
toString
in class Object
Object.toString()
public DescribeTargetHealthRequest clone()
AmazonWebServiceRequest
clone
in class AmazonWebServiceRequest
Object.clone()
Copyright © 2013 Amazon Web Services, Inc. All Rights Reserved.