@Generated(value="software.amazon.awssdk:codegen") public final class AccessPoint extends Object implements SdkPojo, Serializable, ToCopyableBuilder<AccessPoint.Builder,AccessPoint>
An access point used to access a bucket.
| Modifier and Type | Class and Description |
|---|---|
static interface |
AccessPoint.Builder |
| Modifier and Type | Method and Description |
|---|---|
String |
accessPointArn()
The ARN for the access point.
|
String |
alias()
The name or alias of the access point.
|
String |
bucket()
The name of the bucket associated with this access point.
|
static AccessPoint.Builder |
builder() |
boolean |
equals(Object obj) |
boolean |
equalsBySdkFields(Object obj) |
<T> Optional<T> |
getValueForField(String fieldName,
Class<T> clazz) |
int |
hashCode() |
String |
name()
The name of this access point.
|
NetworkOrigin |
networkOrigin()
Indicates whether this access point allows access from the public internet.
|
String |
networkOriginAsString()
Indicates whether this access point allows access from the public internet.
|
List<SdkField<?>> |
sdkFields() |
static Class<? extends AccessPoint.Builder> |
serializableBuilderClass() |
AccessPoint.Builder |
toBuilder() |
String |
toString()
Returns a string representation of this object.
|
VpcConfiguration |
vpcConfiguration()
The virtual private cloud (VPC) configuration for this access point, if one exists.
|
clone, finalize, getClass, notify, notifyAll, wait, wait, waitcopypublic final String name()
The name of this access point.
public final NetworkOrigin networkOrigin()
Indicates whether this access point allows access from the public internet. If VpcConfiguration is
specified for this access point, then NetworkOrigin is VPC, and the access point
doesn't allow access from the public internet. Otherwise, NetworkOrigin is Internet,
and the access point allows access from the public internet, subject to the access point and bucket access
policies.
If the service returns an enum value that is not available in the current SDK version, networkOrigin
will return NetworkOrigin.UNKNOWN_TO_SDK_VERSION. The raw value returned by the service is available from
networkOriginAsString().
VpcConfiguration is specified for this access point, then NetworkOrigin is
VPC, and the access point doesn't allow access from the public internet. Otherwise,
NetworkOrigin is Internet, and the access point allows access from the public
internet, subject to the access point and bucket access policies.NetworkOriginpublic final String networkOriginAsString()
Indicates whether this access point allows access from the public internet. If VpcConfiguration is
specified for this access point, then NetworkOrigin is VPC, and the access point
doesn't allow access from the public internet. Otherwise, NetworkOrigin is Internet,
and the access point allows access from the public internet, subject to the access point and bucket access
policies.
If the service returns an enum value that is not available in the current SDK version, networkOrigin
will return NetworkOrigin.UNKNOWN_TO_SDK_VERSION. The raw value returned by the service is available from
networkOriginAsString().
VpcConfiguration is specified for this access point, then NetworkOrigin is
VPC, and the access point doesn't allow access from the public internet. Otherwise,
NetworkOrigin is Internet, and the access point allows access from the public
internet, subject to the access point and bucket access policies.NetworkOriginpublic final VpcConfiguration vpcConfiguration()
The virtual private cloud (VPC) configuration for this access point, if one exists.
This element is empty if this access point is an Amazon S3 on Outposts access point that is used by other Amazon Web Services.
This element is empty if this access point is an Amazon S3 on Outposts access point that is used by other Amazon Web Services.
public final String bucket()
The name of the bucket associated with this access point.
public final String accessPointArn()
The ARN for the access point.
public final String alias()
The name or alias of the access point.
public AccessPoint.Builder toBuilder()
toBuilder in interface ToCopyableBuilder<AccessPoint.Builder,AccessPoint>public static AccessPoint.Builder builder()
public static Class<? extends AccessPoint.Builder> serializableBuilderClass()
public final boolean equalsBySdkFields(Object obj)
equalsBySdkFields in interface SdkPojopublic final String toString()
Copyright © 2022. All rights reserved.