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:
- Serialized Form
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static interfaceEndpointRequest.Builder
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description static EndpointRequest.Builderbuilder()StringcontainerName()The name of the container for the endpoint.IntegercontainerPort()The port of the container to which traffic is forwarded to.booleanequals(Object obj)booleanequalsBySdkFields(Object obj)<T> Optional<T>getValueForField(String fieldName, Class<T> clazz)inthashCode()ContainerServiceHealthCheckConfighealthCheck()An object that describes the health check configuration of the container.List<SdkField<?>>sdkFields()static Class<? extends EndpointRequest.Builder>serializableBuilderClass()EndpointRequest.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
-
containerName
public final String containerName()
The name of the container for the endpoint.
- Returns:
- The name of the container for the endpoint.
-
containerPort
public final Integer 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
public final ContainerServiceHealthCheckConfig 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
public EndpointRequest.Builder toBuilder()
- Specified by:
toBuilderin interfaceToCopyableBuilder<EndpointRequest.Builder,EndpointRequest>
-
builder
public static EndpointRequest.Builder builder()
-
serializableBuilderClass
public static Class<? extends EndpointRequest.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.
-
-