Class Listener
- java.lang.Object
-
- software.amazon.awssdk.services.elasticbeanstalk.model.Listener
-
- All Implemented Interfaces:
Serializable,SdkPojo,ToCopyableBuilder<Listener.Builder,Listener>
@Generated("software.amazon.awssdk:codegen") public final class Listener extends Object implements SdkPojo, Serializable, ToCopyableBuilder<Listener.Builder,Listener>
Describes the properties of a Listener for the LoadBalancer.
- See Also:
- Serialized Form
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static interfaceListener.Builder
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description static Listener.Builderbuilder()booleanequals(Object obj)booleanequalsBySdkFields(Object obj)<T> Optional<T>getValueForField(String fieldName, Class<T> clazz)inthashCode()Integerport()The port that is used by the Listener.Stringprotocol()The protocol that is used by the Listener.List<SdkField<?>>sdkFields()static Class<? extends Listener.Builder>serializableBuilderClass()Listener.BuildertoBuilder()StringtoString()Returns a string representation of this object.-
Methods inherited from class java.lang.Object
clone, finalize, getClass, notify, notifyAll, wait, wait, wait
-
Methods inherited from interface software.amazon.awssdk.utils.builder.ToCopyableBuilder
copy
-
-
-
-
Method Detail
-
protocol
public final String protocol()
The protocol that is used by the Listener.
- Returns:
- The protocol that is used by the Listener.
-
port
public final Integer port()
The port that is used by the Listener.
- Returns:
- The port that is used by the Listener.
-
toBuilder
public Listener.Builder toBuilder()
- Specified by:
toBuilderin interfaceToCopyableBuilder<Listener.Builder,Listener>
-
builder
public static Listener.Builder builder()
-
serializableBuilderClass
public static Class<? extends Listener.Builder> serializableBuilderClass()
-
equalsBySdkFields
public final boolean equalsBySdkFields(Object obj)
- Specified by:
equalsBySdkFieldsin interfaceSdkPojo
-
toString
public final String toString()
Returns a string representation of this object. This is useful for testing and debugging. Sensitive data will be redacted from this string using a placeholder value.
-
-