@Generated(value="com.amazonaws:aws-java-sdk-code-generator") public class Endpoint extends Object implements Serializable, Cloneable, StructuredPojo
S3 on Outposts access points simplify managing data access at scale for shared datasets in Amazon 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).
Constructor and Description |
---|
Endpoint() |
Modifier and Type | Method and Description |
---|---|
Endpoint |
clone() |
boolean |
equals(Object obj) |
String |
getCidrBlock()
The VPC CIDR committed by this endpoint.
|
Date |
getCreationTime()
The time the endpoint was created.
|
String |
getEndpointArn()
The Amazon Resource Name (ARN) of the endpoint.
|
List<NetworkInterface> |
getNetworkInterfaces()
The network interface of the endpoint.
|
String |
getOutpostsId()
The ID of the AWS Outpost.
|
String |
getStatus()
The status of the endpoint.
|
int |
hashCode() |
void |
marshall(ProtocolMarshaller protocolMarshaller)
Marshalls this structured data using the given
ProtocolMarshaller . |
void |
setCidrBlock(String cidrBlock)
The VPC CIDR committed by this endpoint.
|
void |
setCreationTime(Date creationTime)
The time the endpoint was created.
|
void |
setEndpointArn(String endpointArn)
The Amazon Resource Name (ARN) of the endpoint.
|
void |
setNetworkInterfaces(Collection<NetworkInterface> networkInterfaces)
The network interface of the endpoint.
|
void |
setOutpostsId(String outpostsId)
The ID of the AWS Outpost.
|
void |
setStatus(String status)
The status of the endpoint.
|
String |
toString()
Returns a string representation of this object.
|
Endpoint |
withCidrBlock(String cidrBlock)
The VPC CIDR committed by this endpoint.
|
Endpoint |
withCreationTime(Date creationTime)
The time the endpoint was created.
|
Endpoint |
withEndpointArn(String endpointArn)
The Amazon Resource Name (ARN) of the endpoint.
|
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 AWS Outpost.
|
Endpoint |
withStatus(EndpointStatus status)
The status of the endpoint.
|
Endpoint |
withStatus(String status)
The status of 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 AWS Outpost.
outpostsId
- The ID of the AWS Outpost.public String getOutpostsId()
The ID of the AWS Outpost.
public Endpoint withOutpostsId(String outpostsId)
The ID of the AWS Outpost.
outpostsId
- The ID of the AWS Outpost.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 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.