@Generated(value="software.amazon.awssdk:codegen") public final class ModifyListenerRequest extends ElasticLoadBalancingV2Request implements ToCopyableBuilder<ModifyListenerRequest.Builder,ModifyListenerRequest>
| Modifier and Type | Class and Description |
|---|---|
static interface |
ModifyListenerRequest.Builder |
| Modifier and Type | Method and Description |
|---|---|
List<String> |
alpnPolicy()
[TLS listeners] The name of the Application-Layer Protocol Negotiation (ALPN) policy.
|
static ModifyListenerRequest.Builder |
builder() |
List<Certificate> |
certificates()
[HTTPS and TLS listeners] The default certificate for the listener.
|
List<Action> |
defaultActions()
The actions for the default rule.
|
boolean |
equals(Object obj) |
boolean |
equalsBySdkFields(Object obj) |
<T> Optional<T> |
getValueForField(String fieldName,
Class<T> clazz) |
boolean |
hasAlpnPolicy()
For responses, this returns true if the service returned a value for the AlpnPolicy property.
|
boolean |
hasCertificates()
For responses, this returns true if the service returned a value for the Certificates property.
|
boolean |
hasDefaultActions()
For responses, this returns true if the service returned a value for the DefaultActions property.
|
int |
hashCode() |
String |
listenerArn()
The Amazon Resource Name (ARN) of the listener.
|
Integer |
port()
The port for connections from clients to the load balancer.
|
ProtocolEnum |
protocol()
The protocol for connections from clients to the load balancer.
|
String |
protocolAsString()
The protocol for connections from clients to the load balancer.
|
List<SdkField<?>> |
sdkFields() |
static Class<? extends ModifyListenerRequest.Builder> |
serializableBuilderClass() |
String |
sslPolicy()
[HTTPS and TLS listeners] The security policy that defines which protocols and ciphers are supported.
|
ModifyListenerRequest.Builder |
toBuilder() |
String |
toString()
Returns a string representation of this object.
|
overrideConfigurationclone, finalize, getClass, notify, notifyAll, wait, wait, waitcopypublic final String listenerArn()
The Amazon Resource Name (ARN) of the listener.
public final Integer port()
The port for connections from clients to the load balancer. You cannot specify a port for a Gateway Load Balancer.
public final ProtocolEnum protocol()
The protocol for connections from clients to the load balancer. Application Load Balancers support the HTTP and HTTPS protocols. Network Load Balancers support the TCP, TLS, UDP, and TCP_UDP protocols. You can’t change the protocol to UDP or TCP_UDP if dual-stack mode is enabled. You cannot specify a protocol for a Gateway Load Balancer.
If the service returns an enum value that is not available in the current SDK version, protocol will
return ProtocolEnum.UNKNOWN_TO_SDK_VERSION. The raw value returned by the service is available from
protocolAsString().
ProtocolEnumpublic final String protocolAsString()
The protocol for connections from clients to the load balancer. Application Load Balancers support the HTTP and HTTPS protocols. Network Load Balancers support the TCP, TLS, UDP, and TCP_UDP protocols. You can’t change the protocol to UDP or TCP_UDP if dual-stack mode is enabled. You cannot specify a protocol for a Gateway Load Balancer.
If the service returns an enum value that is not available in the current SDK version, protocol will
return ProtocolEnum.UNKNOWN_TO_SDK_VERSION. The raw value returned by the service is available from
protocolAsString().
ProtocolEnumpublic final String sslPolicy()
[HTTPS and TLS listeners] The security policy that defines which protocols and ciphers are supported.
For more information, see Security policies in the Application Load Balancers Guide or Security policies in the Network Load Balancers Guide.
For more information, see Security policies in the Application Load Balancers Guide or Security policies in the Network Load Balancers Guide.
public final boolean hasCertificates()
isEmpty() method on the property).
This is useful because the SDK will never return a null collection or map, but you may need to differentiate
between the service returning nothing (or null) and the service returning an empty collection or map. For
requests, this returns true if a value for the property was specified in the request builder, and false if a
value was not specified.public final List<Certificate> certificates()
[HTTPS and TLS listeners] The default certificate for the listener. You must provide exactly one certificate. Set
CertificateArn to the certificate ARN but do not set IsDefault.
Attempts to modify the collection returned by this method will result in an UnsupportedOperationException.
This method will never return null. If you would like to know whether the service returned this field (so that
you can differentiate between null and empty), you can use the hasCertificates() method.
CertificateArn to the certificate ARN but do not set IsDefault
.public final boolean hasDefaultActions()
isEmpty() method on the property).
This is useful because the SDK will never return a null collection or map, but you may need to differentiate
between the service returning nothing (or null) and the service returning an empty collection or map. For
requests, this returns true if a value for the property was specified in the request builder, and false if a
value was not specified.public final List<Action> defaultActions()
The actions for the default rule.
Attempts to modify the collection returned by this method will result in an UnsupportedOperationException.
This method will never return null. If you would like to know whether the service returned this field (so that
you can differentiate between null and empty), you can use the hasDefaultActions() method.
public final boolean hasAlpnPolicy()
isEmpty() method on the property). This is
useful because the SDK will never return a null collection or map, but you may need to differentiate between the
service returning nothing (or null) and the service returning an empty collection or map. For requests, this
returns true if a value for the property was specified in the request builder, and false if a value was not
specified.public final List<String> alpnPolicy()
[TLS listeners] The name of the Application-Layer Protocol Negotiation (ALPN) policy. You can specify one policy name. The following are the possible values:
HTTP1Only
HTTP2Only
HTTP2Optional
HTTP2Preferred
None
For more information, see ALPN policies in the Network Load Balancers Guide.
Attempts to modify the collection returned by this method will result in an UnsupportedOperationException.
This method will never return null. If you would like to know whether the service returned this field (so that
you can differentiate between null and empty), you can use the hasAlpnPolicy() method.
HTTP1Only
HTTP2Only
HTTP2Optional
HTTP2Preferred
None
For more information, see ALPN policies in the Network Load Balancers Guide.
public ModifyListenerRequest.Builder toBuilder()
toBuilder in interface ToCopyableBuilder<ModifyListenerRequest.Builder,ModifyListenerRequest>toBuilder in class ElasticLoadBalancingV2Requestpublic static ModifyListenerRequest.Builder builder()
public static Class<? extends ModifyListenerRequest.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 © 2022. All rights reserved.