@Generated(value="software.amazon.awssdk:codegen") public final class GetAccessPointResponse extends S3ControlResponse implements ToCopyableBuilder<GetAccessPointResponse.Builder,GetAccessPointResponse>
| Modifier and Type | Class and Description |
|---|---|
static interface |
GetAccessPointResponse.Builder |
| Modifier and Type | Method and Description |
|---|---|
String |
bucket()
The name of the bucket associated with the specified access point.
|
static GetAccessPointResponse.Builder |
builder() |
Instant |
creationDate()
The date and time when the specified access point was created.
|
boolean |
equals(Object obj) |
boolean |
equalsBySdkFields(Object obj) |
<T> Optional<T> |
getValueForField(String fieldName,
Class<T> clazz) |
int |
hashCode() |
String |
name()
The name of the specified 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.
|
PublicAccessBlockConfiguration |
publicAccessBlockConfiguration()
Returns the value of the PublicAccessBlockConfiguration property for this object.
|
List<SdkField<?>> |
sdkFields() |
static Class<? extends GetAccessPointResponse.Builder> |
serializableBuilderClass() |
GetAccessPointResponse.Builder |
toBuilder() |
String |
toString()
Returns a string representation of this object.
|
VpcConfiguration |
vpcConfiguration()
Contains the virtual private cloud (VPC) configuration for the specified access point.
|
responseMetadatasdkHttpResponseclone, finalize, getClass, notify, notifyAll, wait, wait, waitcopypublic final String name()
The name of the specified access point.
public final String bucket()
The name of the bucket associated with the specified 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.
This will always be true for an Amazon S3 on Outposts access point
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.
This will always be true for an Amazon S3 on Outposts access point
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.
This will always be true for an Amazon S3 on Outposts access point
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.
This will always be true for an Amazon S3 on Outposts access point
NetworkOriginpublic final VpcConfiguration vpcConfiguration()
Contains the virtual private cloud (VPC) configuration for the specified access point.
public final PublicAccessBlockConfiguration publicAccessBlockConfiguration()
public final Instant creationDate()
The date and time when the specified access point was created.
public GetAccessPointResponse.Builder toBuilder()
toBuilder in interface ToCopyableBuilder<GetAccessPointResponse.Builder,GetAccessPointResponse>toBuilder in class AwsResponsepublic static GetAccessPointResponse.Builder builder()
public static Class<? extends GetAccessPointResponse.Builder> serializableBuilderClass()
public final int hashCode()
hashCode in class AwsResponsepublic final boolean equals(Object obj)
equals in class AwsResponsepublic final boolean equalsBySdkFields(Object obj)
equalsBySdkFields in interface SdkPojopublic final String toString()
public final <T> Optional<T> getValueForField(String fieldName, Class<T> clazz)
getValueForField in class SdkResponseCopyright © 2021. All rights reserved.