@Generated(value="com.amazonaws:aws-java-sdk-code-generator") public class EndpointRequest extends Object implements Serializable, Cloneable, StructuredPojo
Describes the settings of a public endpoint for an Amazon Lightsail container service.
Constructor and Description |
---|
EndpointRequest() |
Modifier and Type | Method and Description |
---|---|
EndpointRequest |
clone() |
boolean |
equals(Object obj) |
String |
getContainerName()
The name of the container for the endpoint.
|
Integer |
getContainerPort()
The port of the container to which traffic is forwarded to.
|
ContainerServiceHealthCheckConfig |
getHealthCheck()
An object that describes the health check configuration of the container.
|
int |
hashCode() |
void |
marshall(ProtocolMarshaller protocolMarshaller)
Marshalls this structured data using the given
ProtocolMarshaller . |
void |
setContainerName(String containerName)
The name of the container for the endpoint.
|
void |
setContainerPort(Integer containerPort)
The port of the container to which traffic is forwarded to.
|
void |
setHealthCheck(ContainerServiceHealthCheckConfig healthCheck)
An object that describes the health check configuration of the container.
|
String |
toString()
Returns a string representation of this object.
|
EndpointRequest |
withContainerName(String containerName)
The name of the container for the endpoint.
|
EndpointRequest |
withContainerPort(Integer containerPort)
The port of the container to which traffic is forwarded to.
|
EndpointRequest |
withHealthCheck(ContainerServiceHealthCheckConfig healthCheck)
An object that describes the health check configuration of the container.
|
public void setContainerName(String containerName)
The name of the container for the endpoint.
containerName
- The name of the container for the endpoint.public String getContainerName()
The name of the container for the endpoint.
public EndpointRequest withContainerName(String containerName)
The name of the container for the endpoint.
containerName
- The name of the container for the endpoint.public void setContainerPort(Integer containerPort)
The port of the container to which traffic is forwarded to.
containerPort
- The port of the container to which traffic is forwarded to.public Integer getContainerPort()
The port of the container to which traffic is forwarded to.
public EndpointRequest withContainerPort(Integer containerPort)
The port of the container to which traffic is forwarded to.
containerPort
- The port of the container to which traffic is forwarded to.public void setHealthCheck(ContainerServiceHealthCheckConfig healthCheck)
An object that describes the health check configuration of the container.
healthCheck
- An object that describes the health check configuration of the container.public ContainerServiceHealthCheckConfig getHealthCheck()
An object that describes the health check configuration of the container.
public EndpointRequest withHealthCheck(ContainerServiceHealthCheckConfig healthCheck)
An object that describes the health check configuration of the container.
healthCheck
- An object that describes the health check configuration of the container.public String toString()
toString
in class Object
Object.toString()
public EndpointRequest clone()
public void marshall(ProtocolMarshaller protocolMarshaller)
StructuredPojo
ProtocolMarshaller
.marshall
in interface StructuredPojo
protocolMarshaller
- Implementation of ProtocolMarshaller
used to marshall this object's data.