@Generated(value="com.amazonaws:aws-java-sdk-code-generator") public class Endpoint extends Object implements Serializable, Cloneable, StructuredPojo
Amazon S3 on Outposts Access Points simplify managing data access at scale for shared datasets in S3 on Outposts. S3 on Outposts uses endpoints to connect to Outposts buckets so that you can perform actions within your virtual private cloud (VPC). For more information, see Accessing S3 on Outposts using VPC-only access points in the Amazon Simple Storage Service User Guide.
Constructor and Description |
---|
Endpoint() |
Modifier and Type | Method and Description |
---|---|
Endpoint |
clone() |
boolean |
equals(Object obj) |
String |
getAccessType()
The type of connectivity used to access the Amazon S3 on Outposts endpoint.
|
String |
getCidrBlock()
The VPC CIDR committed by this endpoint.
|
Date |
getCreationTime()
The time the endpoint was created.
|
String |
getCustomerOwnedIpv4Pool()
The ID of the customer-owned IPv4 address pool used for the endpoint.
|
String |
getEndpointArn()
The Amazon Resource Name (ARN) of the endpoint.
|
FailedReason |
getFailedReason()
The failure reason, if any, for a create or delete endpoint operation.
|
List<NetworkInterface> |
getNetworkInterfaces()
The network interface of the endpoint.
|
String |
getOutpostsId()
The ID of the Outposts.
|
String |
getSecurityGroupId()
The ID of the security group used for the endpoint.
|
String |
getStatus()
The status of the endpoint.
|
String |
getSubnetId()
The ID of the subnet used for the endpoint.
|
String |
getVpcId()
The ID of the VPC used for the endpoint.
|
int |
hashCode() |
void |
marshall(ProtocolMarshaller protocolMarshaller)
Marshalls this structured data using the given
ProtocolMarshaller . |
void |
setAccessType(String accessType)
The type of connectivity used to access the Amazon S3 on Outposts endpoint.
|
void |
setCidrBlock(String cidrBlock)
The VPC CIDR committed by this endpoint.
|
void |
setCreationTime(Date creationTime)
The time the endpoint was created.
|
void |
setCustomerOwnedIpv4Pool(String customerOwnedIpv4Pool)
The ID of the customer-owned IPv4 address pool used for the endpoint.
|
void |
setEndpointArn(String endpointArn)
The Amazon Resource Name (ARN) of the endpoint.
|
void |
setFailedReason(FailedReason failedReason)
The failure reason, if any, for a create or delete endpoint operation.
|
void |
setNetworkInterfaces(Collection<NetworkInterface> networkInterfaces)
The network interface of the endpoint.
|
void |
setOutpostsId(String outpostsId)
The ID of the Outposts.
|
void |
setSecurityGroupId(String securityGroupId)
The ID of the security group used for the endpoint.
|
void |
setStatus(String status)
The status of the endpoint.
|
void |
setSubnetId(String subnetId)
The ID of the subnet used for the endpoint.
|
void |
setVpcId(String vpcId)
The ID of the VPC used for the endpoint.
|
String |
toString()
Returns a string representation of this object.
|
Endpoint |
withAccessType(EndpointAccessType accessType)
The type of connectivity used to access the Amazon S3 on Outposts endpoint.
|
Endpoint |
withAccessType(String accessType)
The type of connectivity used to access the Amazon S3 on Outposts endpoint.
|
Endpoint |
withCidrBlock(String cidrBlock)
The VPC CIDR committed by this endpoint.
|
Endpoint |
withCreationTime(Date creationTime)
The time the endpoint was created.
|
Endpoint |
withCustomerOwnedIpv4Pool(String customerOwnedIpv4Pool)
The ID of the customer-owned IPv4 address pool used for the endpoint.
|
Endpoint |
withEndpointArn(String endpointArn)
The Amazon Resource Name (ARN) of the endpoint.
|
Endpoint |
withFailedReason(FailedReason failedReason)
The failure reason, if any, for a create or delete endpoint operation.
|
Endpoint |
withNetworkInterfaces(Collection<NetworkInterface> networkInterfaces)
The network interface of the endpoint.
|
Endpoint |
withNetworkInterfaces(NetworkInterface... networkInterfaces)
The network interface of the endpoint.
|
Endpoint |
withOutpostsId(String outpostsId)
The ID of the Outposts.
|
Endpoint |
withSecurityGroupId(String securityGroupId)
The ID of the security group used for the endpoint.
|
Endpoint |
withStatus(EndpointStatus status)
The status of the endpoint.
|
Endpoint |
withStatus(String status)
The status of the endpoint.
|
Endpoint |
withSubnetId(String subnetId)
The ID of the subnet used for the endpoint.
|
Endpoint |
withVpcId(String vpcId)
The ID of the VPC used for the endpoint.
|
public void setEndpointArn(String endpointArn)
The Amazon Resource Name (ARN) of the endpoint.
endpointArn
- The Amazon Resource Name (ARN) of the endpoint.public String getEndpointArn()
The Amazon Resource Name (ARN) of the endpoint.
public Endpoint withEndpointArn(String endpointArn)
The Amazon Resource Name (ARN) of the endpoint.
endpointArn
- The Amazon Resource Name (ARN) of the endpoint.public void setOutpostsId(String outpostsId)
The ID of the Outposts.
outpostsId
- The ID of the Outposts.public String getOutpostsId()
The ID of the Outposts.
public Endpoint withOutpostsId(String outpostsId)
The ID of the Outposts.
outpostsId
- The ID of the Outposts.public void setCidrBlock(String cidrBlock)
The VPC CIDR committed by this endpoint.
cidrBlock
- The VPC CIDR committed by this endpoint.public String getCidrBlock()
The VPC CIDR committed by this endpoint.
public Endpoint withCidrBlock(String cidrBlock)
The VPC CIDR committed by this endpoint.
cidrBlock
- The VPC CIDR committed by this endpoint.public void setStatus(String status)
The status of the endpoint.
status
- The status of the endpoint.EndpointStatus
public String getStatus()
The status of the endpoint.
EndpointStatus
public Endpoint withStatus(String status)
The status of the endpoint.
status
- The status of the endpoint.EndpointStatus
public Endpoint withStatus(EndpointStatus status)
The status of the endpoint.
status
- The status of the endpoint.EndpointStatus
public void setCreationTime(Date creationTime)
The time the endpoint was created.
creationTime
- The time the endpoint was created.public Date getCreationTime()
The time the endpoint was created.
public Endpoint withCreationTime(Date creationTime)
The time the endpoint was created.
creationTime
- The time the endpoint was created.public List<NetworkInterface> getNetworkInterfaces()
The network interface of the endpoint.
public void setNetworkInterfaces(Collection<NetworkInterface> networkInterfaces)
The network interface of the endpoint.
networkInterfaces
- The network interface of the endpoint.public Endpoint withNetworkInterfaces(NetworkInterface... networkInterfaces)
The network interface of the 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
- The network interface of the endpoint.public Endpoint withNetworkInterfaces(Collection<NetworkInterface> networkInterfaces)
The network interface of the endpoint.
networkInterfaces
- The network interface of the endpoint.public void setVpcId(String vpcId)
The ID of the VPC used for the endpoint.
vpcId
- The ID of the VPC used for the endpoint.public String getVpcId()
The ID of the VPC used for the endpoint.
public Endpoint withVpcId(String vpcId)
The ID of the VPC used for the endpoint.
vpcId
- The ID of the VPC used for the endpoint.public void setSubnetId(String subnetId)
The ID of the subnet used for the endpoint.
subnetId
- The ID of the subnet used for the endpoint.public String getSubnetId()
The ID of the subnet used for the endpoint.
public Endpoint withSubnetId(String subnetId)
The ID of the subnet used for the endpoint.
subnetId
- The ID of the subnet used for the endpoint.public void setSecurityGroupId(String securityGroupId)
The ID of the security group used for the endpoint.
securityGroupId
- The ID of the security group used for the endpoint.public String getSecurityGroupId()
The ID of the security group used for the endpoint.
public Endpoint withSecurityGroupId(String securityGroupId)
The ID of the security group used for the endpoint.
securityGroupId
- The ID of the security group used for the endpoint.public void setAccessType(String accessType)
The type of connectivity used to access the Amazon S3 on Outposts endpoint.
accessType
- The type of connectivity used to access the Amazon S3 on Outposts endpoint.EndpointAccessType
public String getAccessType()
The type of connectivity used to access the Amazon S3 on Outposts endpoint.
EndpointAccessType
public Endpoint withAccessType(String accessType)
The type of connectivity used to access the Amazon S3 on Outposts endpoint.
accessType
- The type of connectivity used to access the Amazon S3 on Outposts endpoint.EndpointAccessType
public Endpoint withAccessType(EndpointAccessType accessType)
The type of connectivity used to access the Amazon S3 on Outposts endpoint.
accessType
- The type of connectivity used to access the Amazon S3 on Outposts endpoint.EndpointAccessType
public void setCustomerOwnedIpv4Pool(String customerOwnedIpv4Pool)
The ID of the customer-owned IPv4 address pool used for the endpoint.
customerOwnedIpv4Pool
- The ID of the customer-owned IPv4 address pool used for the endpoint.public String getCustomerOwnedIpv4Pool()
The ID of the customer-owned IPv4 address pool used for the endpoint.
public Endpoint withCustomerOwnedIpv4Pool(String customerOwnedIpv4Pool)
The ID of the customer-owned IPv4 address pool used for the endpoint.
customerOwnedIpv4Pool
- The ID of the customer-owned IPv4 address pool used for the endpoint.public void setFailedReason(FailedReason failedReason)
The failure reason, if any, for a create or delete endpoint operation.
failedReason
- The failure reason, if any, for a create or delete endpoint operation.public FailedReason getFailedReason()
The failure reason, if any, for a create or delete endpoint operation.
public Endpoint withFailedReason(FailedReason failedReason)
The failure reason, if any, for a create or delete endpoint operation.
failedReason
- The failure reason, if any, for a create or delete endpoint operation.public String toString()
toString
in class Object
Object.toString()
public void marshall(ProtocolMarshaller protocolMarshaller)
StructuredPojo
ProtocolMarshaller
.marshall
in interface StructuredPojo
protocolMarshaller
- Implementation of ProtocolMarshaller
used to marshall this object's data.