@Generated(value="com.amazonaws:aws-java-sdk-code-generator") public class Endpoint extends Object implements Serializable, Cloneable, StructuredPojo
The VPC endpoint object.
| Constructor and Description |
|---|
Endpoint() |
| Modifier and Type | Method and Description |
|---|---|
Endpoint |
clone() |
boolean |
equals(Object obj) |
String |
getAddress()
The DNS address of the VPC endpoint.
|
Integer |
getPort()
The port that Amazon Redshift Serverless listens on.
|
List<VpcEndpoint> |
getVpcEndpoints()
An array of
VpcEndpoint objects. |
int |
hashCode() |
void |
marshall(ProtocolMarshaller protocolMarshaller)
Marshalls this structured data using the given
ProtocolMarshaller. |
void |
setAddress(String address)
The DNS address of the VPC endpoint.
|
void |
setPort(Integer port)
The port that Amazon Redshift Serverless listens on.
|
void |
setVpcEndpoints(Collection<VpcEndpoint> vpcEndpoints)
An array of
VpcEndpoint objects. |
String |
toString()
Returns a string representation of this object.
|
Endpoint |
withAddress(String address)
The DNS address of the VPC endpoint.
|
Endpoint |
withPort(Integer port)
The port that Amazon Redshift Serverless listens on.
|
Endpoint |
withVpcEndpoints(Collection<VpcEndpoint> vpcEndpoints)
An array of
VpcEndpoint objects. |
Endpoint |
withVpcEndpoints(VpcEndpoint... vpcEndpoints)
An array of
VpcEndpoint objects. |
public void setAddress(String address)
The DNS address of the VPC endpoint.
address - The DNS address of the VPC endpoint.public String getAddress()
The DNS address of the VPC endpoint.
public Endpoint withAddress(String address)
The DNS address of the VPC endpoint.
address - The DNS address of the VPC endpoint.public void setPort(Integer port)
The port that Amazon Redshift Serverless listens on.
port - The port that Amazon Redshift Serverless listens on.public Integer getPort()
The port that Amazon Redshift Serverless listens on.
public Endpoint withPort(Integer port)
The port that Amazon Redshift Serverless listens on.
port - The port that Amazon Redshift Serverless listens on.public List<VpcEndpoint> getVpcEndpoints()
An array of VpcEndpoint objects.
VpcEndpoint objects.public void setVpcEndpoints(Collection<VpcEndpoint> vpcEndpoints)
An array of VpcEndpoint objects.
vpcEndpoints - An array of VpcEndpoint objects.public Endpoint withVpcEndpoints(VpcEndpoint... vpcEndpoints)
An array of VpcEndpoint objects.
NOTE: This method appends the values to the existing list (if any). Use
setVpcEndpoints(java.util.Collection) or withVpcEndpoints(java.util.Collection) if you want to
override the existing values.
vpcEndpoints - An array of VpcEndpoint objects.public Endpoint withVpcEndpoints(Collection<VpcEndpoint> vpcEndpoints)
An array of VpcEndpoint objects.
vpcEndpoints - An array of VpcEndpoint objects.public String toString()
toString in class ObjectObject.toString()public void marshall(ProtocolMarshaller protocolMarshaller)
StructuredPojoProtocolMarshaller.marshall in interface StructuredPojoprotocolMarshaller - Implementation of ProtocolMarshaller used to marshall this object's data.