@Generated(value="software.amazon.awssdk:codegen") public final class Endpoint extends Object implements SdkPojo, Serializable, ToCopyableBuilder<Endpoint.Builder,Endpoint>
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.
| Modifier and Type | Class and Description |
|---|---|
static interface |
Endpoint.Builder |
| Modifier and Type | Method and Description |
|---|---|
EndpointAccessType |
accessType()
|
String |
accessTypeAsString()
|
static Endpoint.Builder |
builder() |
String |
cidrBlock()
The VPC CIDR committed by this endpoint.
|
Instant |
creationTime()
The time the endpoint was created.
|
String |
customerOwnedIpv4Pool()
The ID of the customer-owned IPv4 pool used for the endpoint.
|
String |
endpointArn()
The Amazon Resource Name (ARN) of the endpoint.
|
boolean |
equals(Object obj) |
boolean |
equalsBySdkFields(Object obj) |
<T> Optional<T> |
getValueForField(String fieldName,
Class<T> clazz) |
int |
hashCode() |
boolean |
hasNetworkInterfaces()
For responses, this returns true if the service returned a value for the NetworkInterfaces property.
|
List<NetworkInterface> |
networkInterfaces()
The network interface of the endpoint.
|
String |
outpostsId()
The ID of the AWS Outposts.
|
List<SdkField<?>> |
sdkFields() |
String |
securityGroupId()
The ID of the security group used for the endpoint.
|
static Class<? extends Endpoint.Builder> |
serializableBuilderClass() |
EndpointStatus |
status()
The status of the endpoint.
|
String |
statusAsString()
The status of the endpoint.
|
String |
subnetId()
The ID of the subnet used for the endpoint.
|
Endpoint.Builder |
toBuilder() |
String |
toString()
Returns a string representation of this object.
|
String |
vpcId()
The ID of the VPC used for the endpoint.
|
clone, finalize, getClass, notify, notifyAll, wait, wait, waitcopypublic final String endpointArn()
The Amazon Resource Name (ARN) of the endpoint.
public final String outpostsId()
The ID of the AWS Outposts.
public final String cidrBlock()
The VPC CIDR committed by this endpoint.
public final EndpointStatus status()
The status of the endpoint.
If the service returns an enum value that is not available in the current SDK version, status will
return EndpointStatus.UNKNOWN_TO_SDK_VERSION. The raw value returned by the service is available from
statusAsString().
EndpointStatuspublic final String statusAsString()
The status of the endpoint.
If the service returns an enum value that is not available in the current SDK version, status will
return EndpointStatus.UNKNOWN_TO_SDK_VERSION. The raw value returned by the service is available from
statusAsString().
EndpointStatuspublic final Instant creationTime()
The time the endpoint was created.
public final boolean hasNetworkInterfaces()
isEmpty() method on the property).
This is useful because the SDK will never return a null collection or map, but you may need to differentiate
between the service returning nothing (or null) and the service returning an empty collection or map. For
requests, this returns true if a value for the property was specified in the request builder, and false if a
value was not specified.public final List<NetworkInterface> networkInterfaces()
The network interface of the endpoint.
Attempts to modify the collection returned by this method will result in an UnsupportedOperationException.
This method will never return null. If you would like to know whether the service returned this field (so that
you can differentiate between null and empty), you can use the hasNetworkInterfaces() method.
public final String vpcId()
The ID of the VPC used for the endpoint.
public final String subnetId()
The ID of the subnet used for the endpoint.
public final String securityGroupId()
The ID of the security group used for the endpoint.
public final EndpointAccessType accessType()
If the service returns an enum value that is not available in the current SDK version, accessType will
return EndpointAccessType.UNKNOWN_TO_SDK_VERSION. The raw value returned by the service is available from
accessTypeAsString().
EndpointAccessTypepublic final String accessTypeAsString()
If the service returns an enum value that is not available in the current SDK version, accessType will
return EndpointAccessType.UNKNOWN_TO_SDK_VERSION. The raw value returned by the service is available from
accessTypeAsString().
EndpointAccessTypepublic final String customerOwnedIpv4Pool()
The ID of the customer-owned IPv4 pool used for the endpoint.
public Endpoint.Builder toBuilder()
toBuilder in interface ToCopyableBuilder<Endpoint.Builder,Endpoint>public static Endpoint.Builder builder()
public static Class<? extends Endpoint.Builder> serializableBuilderClass()
public final boolean equalsBySdkFields(Object obj)
equalsBySdkFields in interface SdkPojopublic final String toString()
Copyright © 2021. All rights reserved.