@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 |
bucket()
The name of the bucket associated with this access point.
|
static AccessPoint.Builder |
builder() |
boolean |
equals(Object obj) |
boolean |
equalsBySdkFields(Object obj)
Indicates whether some other object is "equal to" this one by SDK fields.
|
<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()
Take this object and create a builder that contains all of the current property values of this object.
|
String |
toString()
Returns a string representation of this object.
|
VpcConfiguration |
vpcConfiguration()
The virtual private cloud (VPC) configuration for this access point, if one exists.
|
copy
public 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.NetworkOrigin
public 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.NetworkOrigin
public final VpcConfiguration vpcConfiguration()
The virtual private cloud (VPC) configuration for this access point, if one exists.
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 AccessPoint.Builder toBuilder()
ToCopyableBuilder
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)
SdkPojo
SdkPojo
class,
and is generated based on a service model.
If an SdkPojo
class does not have any inherited fields, equalsBySdkFields
and equals
are essentially the same.
equalsBySdkFields
in interface SdkPojo
obj
- the object to be compared withpublic final String toString()
Copyright © 2021 Amazon Web Services, Inc. All Rights Reserved.