@Generated(value="software.amazon.awssdk:codegen") public final class AttachLoadBalancerTargetGroupsRequest extends AutoScalingRequest implements ToCopyableBuilder<AttachLoadBalancerTargetGroupsRequest.Builder,AttachLoadBalancerTargetGroupsRequest>
| Modifier and Type | Class and Description |
|---|---|
static interface |
AttachLoadBalancerTargetGroupsRequest.Builder |
| Modifier and Type | Method and Description |
|---|---|
String |
autoScalingGroupName()
The name of the Auto Scaling group.
|
static AttachLoadBalancerTargetGroupsRequest.Builder |
builder() |
boolean |
equals(Object obj) |
boolean |
equalsBySdkFields(Object obj) |
<T> Optional<T> |
getValueForField(String fieldName,
Class<T> clazz) |
int |
hashCode() |
boolean |
hasTargetGroupARNs()
Returns true if the TargetGroupARNs property was specified by the sender (it may be empty), or false if the
sender did not specify the value (it will be empty).
|
List<SdkField<?>> |
sdkFields() |
static Class<? extends AttachLoadBalancerTargetGroupsRequest.Builder> |
serializableBuilderClass() |
List<String> |
targetGroupARNs()
The Amazon Resource Names (ARN) of the target groups.
|
AttachLoadBalancerTargetGroupsRequest.Builder |
toBuilder() |
String |
toString()
Returns a string representation of this object.
|
overrideConfigurationclone, finalize, getClass, notify, notifyAll, wait, wait, waitcopypublic final String autoScalingGroupName()
The name of the Auto Scaling group.
public final boolean hasTargetGroupARNs()
public final List<String> targetGroupARNs()
The Amazon Resource Names (ARN) 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.
Attempts to modify the collection returned by this method will result in an UnsupportedOperationException.
You can use hasTargetGroupARNs() to see if a value was sent in this field.
public AttachLoadBalancerTargetGroupsRequest.Builder toBuilder()
toBuilder in interface ToCopyableBuilder<AttachLoadBalancerTargetGroupsRequest.Builder,AttachLoadBalancerTargetGroupsRequest>toBuilder in class AutoScalingRequestpublic static AttachLoadBalancerTargetGroupsRequest.Builder builder()
public static Class<? extends AttachLoadBalancerTargetGroupsRequest.Builder> serializableBuilderClass()
public final int hashCode()
hashCode in class AwsRequestpublic final boolean equals(Object obj)
equals in class AwsRequestpublic final boolean equalsBySdkFields(Object obj)
equalsBySdkFields in interface SdkPojopublic final String toString()
public final <T> Optional<T> getValueForField(String fieldName, Class<T> clazz)
getValueForField in class SdkRequestCopyright © 2021. All rights reserved.