@Generated(value="software.amazon.awssdk:codegen") public 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 |
---|---|
static ModifyListenerRequest.Builder |
builder() |
List<Certificate> |
certificates()
The default SSL server certificate.
|
List<Action> |
defaultActions()
The default action.
|
boolean |
equals(Object obj) |
<T> Optional<T> |
getValueForField(String fieldName,
Class<T> clazz)
Used to retrieve the value of a field from any class that extends
SdkRequest . |
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 |
protocolString()
The protocol for connections from clients to the load balancer.
|
static Class<? extends ModifyListenerRequest.Builder> |
serializableBuilderClass() |
String |
sslPolicy()
The security policy that defines which protocols and ciphers are supported.
|
ModifyListenerRequest.Builder |
toBuilder()
Take this object and create a builder that contains all of the current property values of this object.
|
String |
toString() |
requestOverrideConfig
copy
public String listenerArn()
The Amazon Resource Name (ARN) of the listener.
public Integer port()
The port for connections from clients to the load balancer.
public ProtocolEnum protocol()
The protocol for connections from clients to the load balancer. Application Load Balancers support HTTP and HTTPS and Network Load Balancers support TCP.
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
protocolString()
.
ProtocolEnum
public String protocolString()
The protocol for connections from clients to the load balancer. Application Load Balancers support HTTP and HTTPS and Network Load Balancers support TCP.
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
protocolString()
.
ProtocolEnum
public String sslPolicy()
The security policy that defines which protocols and ciphers are supported. For more information, see Security Policies in the Application Load Balancers Guide.
public List<Certificate> certificates()
The default SSL server certificate.
Attempts to modify the collection returned by this method will result in an UnsupportedOperationException.
public List<Action> defaultActions()
The default action. For Application Load Balancers, the protocol of the specified target group must be HTTP or HTTPS. For Network Load Balancers, the protocol of the specified target group must be TCP.
Attempts to modify the collection returned by this method will result in an UnsupportedOperationException.
public ModifyListenerRequest.Builder toBuilder()
ToCopyableBuilder
toBuilder
in interface ToCopyableBuilder<ModifyListenerRequest.Builder,ModifyListenerRequest>
toBuilder
in class ElasticLoadBalancingv2Request
public static ModifyListenerRequest.Builder builder()
public static Class<? extends ModifyListenerRequest.Builder> serializableBuilderClass()
public <T> Optional<T> getValueForField(String fieldName, Class<T> clazz)
SdkRequest
SdkRequest
. The field name
specified should match the member name from the corresponding service-2.json model specified in the
codegen-resources folder for a given service. The class specifies what class to cast the returned value to.
If the returned value is also a modeled class, the SdkRequest.getValueForField(String, Class)
method will
again be available.getValueForField
in class SdkRequest
fieldName
- The name of the member to be retrieved.clazz
- The class to cast the returned object to.Copyright © 2017 Amazon Web Services, Inc. All Rights Reserved.