@Generated(value="com.amazonaws:aws-java-sdk-code-generator") public class AttachLoadBalancerTargetGroupsRequest extends AmazonWebServiceRequest implements Serializable, Cloneable
NOOP| Constructor and Description |
|---|
AttachLoadBalancerTargetGroupsRequest() |
| Modifier and Type | Method and Description |
|---|---|
AttachLoadBalancerTargetGroupsRequest |
clone()
Creates a shallow clone of this object for all fields except the handler context.
|
boolean |
equals(Object obj) |
String |
getAutoScalingGroupName()
The name of the Auto Scaling group.
|
List<String> |
getTargetGroupARNs()
The Amazon Resource Names (ARNs) of the target groups.
|
int |
hashCode() |
void |
setAutoScalingGroupName(String autoScalingGroupName)
The name of the Auto Scaling group.
|
void |
setTargetGroupARNs(Collection<String> targetGroupARNs)
The Amazon Resource Names (ARNs) of the target groups.
|
String |
toString()
Returns a string representation of this object.
|
AttachLoadBalancerTargetGroupsRequest |
withAutoScalingGroupName(String autoScalingGroupName)
The name of the Auto Scaling group.
|
AttachLoadBalancerTargetGroupsRequest |
withTargetGroupARNs(Collection<String> targetGroupARNs)
The Amazon Resource Names (ARNs) of the target groups.
|
AttachLoadBalancerTargetGroupsRequest |
withTargetGroupARNs(String... targetGroupARNs)
The Amazon Resource Names (ARNs) of the target groups.
|
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, withSdkRequestTimeoutpublic AttachLoadBalancerTargetGroupsRequest()
public void setAutoScalingGroupName(String autoScalingGroupName)
The name of the Auto Scaling group.
autoScalingGroupName - The name of the Auto Scaling group.public String getAutoScalingGroupName()
The name of the Auto Scaling group.
public AttachLoadBalancerTargetGroupsRequest withAutoScalingGroupName(String autoScalingGroupName)
The name of the Auto Scaling group.
autoScalingGroupName - The name of the Auto Scaling group.public List<String> getTargetGroupARNs()
The Amazon Resource Names (ARNs) of the target groups. You can specify up to 10 target groups. To get the ARN of a target group, use the Elastic Load Balancing DescribeTargetGroups API operation.
public void setTargetGroupARNs(Collection<String> targetGroupARNs)
The Amazon Resource Names (ARNs) of the target groups. You can specify up to 10 target groups. To get the ARN of a target group, use the Elastic Load Balancing DescribeTargetGroups API operation.
targetGroupARNs - The Amazon Resource Names (ARNs) of the target groups. You can specify up to 10 target groups. To get the
ARN of a target group, use the Elastic Load Balancing DescribeTargetGroups API operation.public AttachLoadBalancerTargetGroupsRequest withTargetGroupARNs(String... targetGroupARNs)
The Amazon Resource Names (ARNs) of the target groups. You can specify up to 10 target groups. To get the ARN of a target group, use the Elastic Load Balancing DescribeTargetGroups API operation.
NOTE: This method appends the values to the existing list (if any). Use
setTargetGroupARNs(java.util.Collection) or withTargetGroupARNs(java.util.Collection) if you
want to override the existing values.
targetGroupARNs - The Amazon Resource Names (ARNs) of the target groups. You can specify up to 10 target groups. To get the
ARN of a target group, use the Elastic Load Balancing DescribeTargetGroups API operation.public AttachLoadBalancerTargetGroupsRequest withTargetGroupARNs(Collection<String> targetGroupARNs)
The Amazon Resource Names (ARNs) of the target groups. You can specify up to 10 target groups. To get the ARN of a target group, use the Elastic Load Balancing DescribeTargetGroups API operation.
targetGroupARNs - The Amazon Resource Names (ARNs) of the target groups. You can specify up to 10 target groups. To get the
ARN of a target group, use the Elastic Load Balancing DescribeTargetGroups API operation.public String toString()
toString in class ObjectObject.toString()public AttachLoadBalancerTargetGroupsRequest clone()
AmazonWebServiceRequestclone in class AmazonWebServiceRequestObject.clone()