@Generated(value="software.amazon.awssdk:codegen") public final class SetLoadBalancerPoliciesOfListenerRequest extends ElasticLoadBalancingRequest implements ToCopyableBuilder<SetLoadBalancerPoliciesOfListenerRequest.Builder,SetLoadBalancerPoliciesOfListenerRequest>
Contains the parameters for SetLoadBalancePoliciesOfListener.
| Modifier and Type | Class and Description |
|---|---|
static interface |
SetLoadBalancerPoliciesOfListenerRequest.Builder |
| Modifier and Type | Method and Description |
|---|---|
static SetLoadBalancerPoliciesOfListenerRequest.Builder |
builder() |
boolean |
equals(Object obj) |
boolean |
equalsBySdkFields(Object obj) |
<T> Optional<T> |
getValueForField(String fieldName,
Class<T> clazz) |
int |
hashCode() |
boolean |
hasPolicyNames()
Returns true if the PolicyNames property was specified by the sender (it may be empty), or false if the sender
did not specify the value (it will be empty).
|
String |
loadBalancerName()
The name of the load balancer.
|
Integer |
loadBalancerPort()
The external port of the load balancer.
|
List<String> |
policyNames()
The names of the policies.
|
List<SdkField<?>> |
sdkFields() |
static Class<? extends SetLoadBalancerPoliciesOfListenerRequest.Builder> |
serializableBuilderClass() |
SetLoadBalancerPoliciesOfListenerRequest.Builder |
toBuilder() |
String |
toString()
Returns a string representation of this object.
|
overrideConfigurationclone, finalize, getClass, notify, notifyAll, wait, wait, waitcopypublic final String loadBalancerName()
The name of the load balancer.
public final Integer loadBalancerPort()
The external port of the load balancer.
public final boolean hasPolicyNames()
public final List<String> policyNames()
The names of the policies. This list must include all policies to be enabled. If you omit a policy that is currently enabled, it is disabled. If the list is empty, all current policies are disabled.
Attempts to modify the collection returned by this method will result in an UnsupportedOperationException.
You can use hasPolicyNames() to see if a value was sent in this field.
public SetLoadBalancerPoliciesOfListenerRequest.Builder toBuilder()
toBuilder in interface ToCopyableBuilder<SetLoadBalancerPoliciesOfListenerRequest.Builder,SetLoadBalancerPoliciesOfListenerRequest>toBuilder in class ElasticLoadBalancingRequestpublic static SetLoadBalancerPoliciesOfListenerRequest.Builder builder()
public static Class<? extends SetLoadBalancerPoliciesOfListenerRequest.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.