@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 |
accessPointArn()
The ARN of the access point.
|
String |
alias()
The name or alias of the access point.
|
String |
bucket()
The name of the bucket associated with the specified access point.
|
String |
bucketAccountId()
The Amazon Web Services account ID associated with the S3 bucket associated with this access point.
|
static GetAccessPointResponse.Builder |
builder() |
Instant |
creationDate()
The date and time when the specified access point was created.
|
Map<String,String> |
endpoints()
The VPC endpoint for the access point.
|
boolean |
equals(Object obj) |
boolean |
equalsBySdkFields(Object obj) |
<T> Optional<T> |
getValueForField(String fieldName,
Class<T> clazz) |
boolean |
hasEndpoints()
For responses, this returns true if the service returned a value for the Endpoints property.
|
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.
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 PublicAccessBlockConfiguration publicAccessBlockConfiguration()
public final Instant creationDate()
The date and time when the specified access point was created.
public final String alias()
The name or alias of the access point.
public final String accessPointArn()
The ARN of the access point.
public final boolean hasEndpoints()
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 Map<String,String> endpoints()
The VPC endpoint for the access point.
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 hasEndpoints() method.
public final String bucketAccountId()
The Amazon Web Services account ID associated with the S3 bucket associated with this access point.
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 © 2023. All rights reserved.