Class EndpointRequest
java.lang.Object
software.amazon.awssdk.services.lightsail.model.EndpointRequest
- All Implemented Interfaces:
Serializable,SdkPojo,ToCopyableBuilder<EndpointRequest.Builder,EndpointRequest>
@Generated("software.amazon.awssdk:codegen")
public final class EndpointRequest
extends Object
implements SdkPojo, Serializable, ToCopyableBuilder<EndpointRequest.Builder,EndpointRequest>
Describes the settings of a public endpoint for an Amazon Lightsail container service.
- See Also:
-
Nested Class Summary
Nested Classes -
Method Summary
Modifier and TypeMethodDescriptionstatic EndpointRequest.Builderbuilder()final StringThe name of the container for the endpoint.final IntegerThe port of the container to which traffic is forwarded to.final booleanfinal booleanequalsBySdkFields(Object obj) Indicates whether some other object is "equal to" this one by SDK fields.final <T> Optional<T> getValueForField(String fieldName, Class<T> clazz) final inthashCode()An object that describes the health check configuration of the container.static Class<? extends EndpointRequest.Builder> Take this object and create a builder that contains all of the current property values of this object.final StringtoString()Returns a string representation of this object.Methods inherited from interface software.amazon.awssdk.utils.builder.ToCopyableBuilder
copy
-
Method Details
-
containerName
The name of the container for the endpoint.
- Returns:
- The name of the container for the endpoint.
-
containerPort
The port of the container to which traffic is forwarded to.
- Returns:
- The port of the container to which traffic is forwarded to.
-
healthCheck
An object that describes the health check configuration of the container.
- Returns:
- An object that describes the health check configuration of the container.
-
toBuilder
Description copied from interface:ToCopyableBuilderTake this object and create a builder that contains all of the current property values of this object.- Specified by:
toBuilderin interfaceToCopyableBuilder<EndpointRequest.Builder,EndpointRequest> - Returns:
- a builder for type T
-
builder
-
serializableBuilderClass
-
hashCode
-
equals
-
equalsBySdkFields
Description copied from interface:SdkPojoIndicates whether some other object is "equal to" this one by SDK fields. An SDK field is a modeled, non-inherited field in anSdkPojoclass, and is generated based on a service model.If an
SdkPojoclass does not have any inherited fields,equalsBySdkFieldsandequalsare essentially the same.- Specified by:
equalsBySdkFieldsin interfaceSdkPojo- Parameters:
obj- the object to be compared with- Returns:
- true if the other object equals to this object by sdk fields, false otherwise.
-
toString
-
getValueForField
-
sdkFields
-