@Generated(value="com.amazonaws:aws-java-sdk-code-generator") public class VpcEndpoint extends Object implements Serializable, Cloneable, StructuredPojo
The connection endpoint for connecting to Amazon Redshift Serverless through the proxy.
Constructor and Description |
---|
VpcEndpoint() |
Modifier and Type | Method and Description |
---|---|
VpcEndpoint |
clone() |
boolean |
equals(Object obj) |
List<NetworkInterface> |
getNetworkInterfaces()
One or more network interfaces of the endpoint.
|
String |
getVpcEndpointId()
The connection endpoint ID for connecting to Amazon Redshift Serverless.
|
String |
getVpcId()
The VPC identifier that the endpoint is associated with.
|
int |
hashCode() |
void |
marshall(ProtocolMarshaller protocolMarshaller)
Marshalls this structured data using the given
ProtocolMarshaller . |
void |
setNetworkInterfaces(Collection<NetworkInterface> networkInterfaces)
One or more network interfaces of the endpoint.
|
void |
setVpcEndpointId(String vpcEndpointId)
The connection endpoint ID for connecting to Amazon Redshift Serverless.
|
void |
setVpcId(String vpcId)
The VPC identifier that the endpoint is associated with.
|
String |
toString()
Returns a string representation of this object.
|
VpcEndpoint |
withNetworkInterfaces(Collection<NetworkInterface> networkInterfaces)
One or more network interfaces of the endpoint.
|
VpcEndpoint |
withNetworkInterfaces(NetworkInterface... networkInterfaces)
One or more network interfaces of the endpoint.
|
VpcEndpoint |
withVpcEndpointId(String vpcEndpointId)
The connection endpoint ID for connecting to Amazon Redshift Serverless.
|
VpcEndpoint |
withVpcId(String vpcId)
The VPC identifier that the endpoint is associated with.
|
public List<NetworkInterface> getNetworkInterfaces()
One or more network interfaces of the endpoint. Also known as an interface endpoint.
public void setNetworkInterfaces(Collection<NetworkInterface> networkInterfaces)
One or more network interfaces of the endpoint. Also known as an interface endpoint.
networkInterfaces
- One or more network interfaces of the endpoint. Also known as an interface endpoint.public VpcEndpoint withNetworkInterfaces(NetworkInterface... networkInterfaces)
One or more network interfaces of the endpoint. Also known as an interface endpoint.
NOTE: This method appends the values to the existing list (if any). Use
setNetworkInterfaces(java.util.Collection)
or withNetworkInterfaces(java.util.Collection)
if
you want to override the existing values.
networkInterfaces
- One or more network interfaces of the endpoint. Also known as an interface endpoint.public VpcEndpoint withNetworkInterfaces(Collection<NetworkInterface> networkInterfaces)
One or more network interfaces of the endpoint. Also known as an interface endpoint.
networkInterfaces
- One or more network interfaces of the endpoint. Also known as an interface endpoint.public void setVpcEndpointId(String vpcEndpointId)
The connection endpoint ID for connecting to Amazon Redshift Serverless.
vpcEndpointId
- The connection endpoint ID for connecting to Amazon Redshift Serverless.public String getVpcEndpointId()
The connection endpoint ID for connecting to Amazon Redshift Serverless.
public VpcEndpoint withVpcEndpointId(String vpcEndpointId)
The connection endpoint ID for connecting to Amazon Redshift Serverless.
vpcEndpointId
- The connection endpoint ID for connecting to Amazon Redshift Serverless.public void setVpcId(String vpcId)
The VPC identifier that the endpoint is associated with.
vpcId
- The VPC identifier that the endpoint is associated with.public String getVpcId()
The VPC identifier that the endpoint is associated with.
public VpcEndpoint withVpcId(String vpcId)
The VPC identifier that the endpoint is associated with.
vpcId
- The VPC identifier that the endpoint is associated with.public String toString()
toString
in class Object
Object.toString()
public VpcEndpoint clone()
public void marshall(ProtocolMarshaller protocolMarshaller)
StructuredPojo
ProtocolMarshaller
.marshall
in interface StructuredPojo
protocolMarshaller
- Implementation of ProtocolMarshaller
used to marshall this object's data.