@Generated(value="com.amazonaws:aws-java-sdk-code-generator") public class AccessEndpoint extends Object implements Serializable, Cloneable, StructuredPojo
Describes an interface VPC endpoint (interface endpoint) that lets you create a private connection between the virtual private cloud (VPC) that you specify and AppStream 2.0. When you specify an interface endpoint for a stack, users of the stack can connect to AppStream 2.0 only through that endpoint. When you specify an interface endpoint for an image builder, administrators can connect to the image builder only through that endpoint.
Constructor and Description |
---|
AccessEndpoint() |
Modifier and Type | Method and Description |
---|---|
AccessEndpoint |
clone() |
boolean |
equals(Object obj) |
String |
getEndpointType()
The type of interface endpoint.
|
String |
getVpceId()
The identifier (ID) of the VPC in which the interface endpoint is used.
|
int |
hashCode() |
void |
marshall(ProtocolMarshaller protocolMarshaller)
Marshalls this structured data using the given
ProtocolMarshaller . |
void |
setEndpointType(String endpointType)
The type of interface endpoint.
|
void |
setVpceId(String vpceId)
The identifier (ID) of the VPC in which the interface endpoint is used.
|
String |
toString()
Returns a string representation of this object.
|
AccessEndpoint |
withEndpointType(AccessEndpointType endpointType)
The type of interface endpoint.
|
AccessEndpoint |
withEndpointType(String endpointType)
The type of interface endpoint.
|
AccessEndpoint |
withVpceId(String vpceId)
The identifier (ID) of the VPC in which the interface endpoint is used.
|
public void setEndpointType(String endpointType)
The type of interface endpoint.
endpointType
- The type of interface endpoint.AccessEndpointType
public String getEndpointType()
The type of interface endpoint.
AccessEndpointType
public AccessEndpoint withEndpointType(String endpointType)
The type of interface endpoint.
endpointType
- The type of interface endpoint.AccessEndpointType
public AccessEndpoint withEndpointType(AccessEndpointType endpointType)
The type of interface endpoint.
endpointType
- The type of interface endpoint.AccessEndpointType
public void setVpceId(String vpceId)
The identifier (ID) of the VPC in which the interface endpoint is used.
vpceId
- The identifier (ID) of the VPC in which the interface endpoint is used.public String getVpceId()
The identifier (ID) of the VPC in which the interface endpoint is used.
public AccessEndpoint withVpceId(String vpceId)
The identifier (ID) of the VPC in which the interface endpoint is used.
vpceId
- The identifier (ID) of the VPC in which the interface endpoint is used.public String toString()
toString
in class Object
Object.toString()
public AccessEndpoint clone()
public void marshall(ProtocolMarshaller protocolMarshaller)
StructuredPojo
ProtocolMarshaller
.marshall
in interface StructuredPojo
protocolMarshaller
- Implementation of ProtocolMarshaller
used to marshall this object's data.