Class GetAccessPointResponse
- java.lang.Object
-
- software.amazon.awssdk.core.SdkResponse
-
- software.amazon.awssdk.awscore.AwsResponse
-
- software.amazon.awssdk.services.s3control.model.S3ControlResponse
-
- software.amazon.awssdk.services.s3control.model.GetAccessPointResponse
-
- All Implemented Interfaces:
SdkPojo,ToCopyableBuilder<GetAccessPointResponse.Builder,GetAccessPointResponse>
@Generated("software.amazon.awssdk:codegen") public final class GetAccessPointResponse extends S3ControlResponse implements ToCopyableBuilder<GetAccessPointResponse.Builder,GetAccessPointResponse>
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static interfaceGetAccessPointResponse.Builder
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description StringaccessPointArn()The ARN of the access point.Stringalias()The name or alias of the access point.Stringbucket()The name of the bucket associated with the specified access point.StringbucketAccountId()The Amazon Web Services account ID associated with the S3 bucket associated with this access point.static GetAccessPointResponse.Builderbuilder()InstantcreationDate()The date and time when the specified access point was created.Map<String,String>endpoints()The VPC endpoint for the access point.booleanequals(Object obj)booleanequalsBySdkFields(Object obj)<T> Optional<T>getValueForField(String fieldName, Class<T> clazz)booleanhasEndpoints()For responses, this returns true if the service returned a value for the Endpoints property.inthashCode()Stringname()The name of the specified access point.NetworkOriginnetworkOrigin()Indicates whether this access point allows access from the public internet.StringnetworkOriginAsString()Indicates whether this access point allows access from the public internet.PublicAccessBlockConfigurationpublicAccessBlockConfiguration()Returns the value of the PublicAccessBlockConfiguration property for this object.List<SdkField<?>>sdkFields()static Class<? extends GetAccessPointResponse.Builder>serializableBuilderClass()GetAccessPointResponse.BuildertoBuilder()StringtoString()Returns a string representation of this object.VpcConfigurationvpcConfiguration()Contains the virtual private cloud (VPC) configuration for the specified access point.-
Methods inherited from class software.amazon.awssdk.services.s3control.model.S3ControlResponse
responseMetadata
-
Methods inherited from class software.amazon.awssdk.core.SdkResponse
sdkHttpResponse
-
Methods inherited from class java.lang.Object
clone, finalize, getClass, notify, notifyAll, wait, wait, wait
-
Methods inherited from interface software.amazon.awssdk.utils.builder.ToCopyableBuilder
copy
-
-
-
-
Method Detail
-
name
public final String name()
The name of the specified access point.
- Returns:
- The name of the specified access point.
-
bucket
public final String bucket()
The name of the bucket associated with the specified access point.
- Returns:
- The name of the bucket associated with the specified access point.
-
networkOrigin
public final NetworkOrigin networkOrigin()
Indicates whether this access point allows access from the public internet. If
VpcConfigurationis specified for this access point, thenNetworkOriginisVPC, and the access point doesn't allow access from the public internet. Otherwise,NetworkOriginisInternet, 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,
networkOriginwill returnNetworkOrigin.UNKNOWN_TO_SDK_VERSION. The raw value returned by the service is available fromnetworkOriginAsString().- Returns:
- Indicates whether this access point allows access from the public internet. If
VpcConfigurationis specified for this access point, thenNetworkOriginisVPC, and the access point doesn't allow access from the public internet. Otherwise,NetworkOriginisInternet, 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
- See Also:
NetworkOrigin
-
networkOriginAsString
public final String networkOriginAsString()
Indicates whether this access point allows access from the public internet. If
VpcConfigurationis specified for this access point, thenNetworkOriginisVPC, and the access point doesn't allow access from the public internet. Otherwise,NetworkOriginisInternet, 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,
networkOriginwill returnNetworkOrigin.UNKNOWN_TO_SDK_VERSION. The raw value returned by the service is available fromnetworkOriginAsString().- Returns:
- Indicates whether this access point allows access from the public internet. If
VpcConfigurationis specified for this access point, thenNetworkOriginisVPC, and the access point doesn't allow access from the public internet. Otherwise,NetworkOriginisInternet, 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
- See Also:
NetworkOrigin
-
vpcConfiguration
public 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.
- Returns:
- 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.
-
publicAccessBlockConfiguration
public final PublicAccessBlockConfiguration publicAccessBlockConfiguration()
Returns the value of the PublicAccessBlockConfiguration property for this object.- Returns:
- The value of the PublicAccessBlockConfiguration property for this object.
-
creationDate
public final Instant creationDate()
The date and time when the specified access point was created.
- Returns:
- The date and time when the specified access point was created.
-
alias
public final String alias()
The name or alias of the access point.
- Returns:
- The name or alias of the access point.
-
accessPointArn
public final String accessPointArn()
The ARN of the access point.
- Returns:
- The ARN of the access point.
-
hasEndpoints
public final boolean hasEndpoints()
For responses, this returns true if the service returned a value for the Endpoints property. This DOES NOT check that the value is non-empty (for which, you should check theisEmpty()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.
-
endpoints
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.- Returns:
- The VPC endpoint for the access point.
-
bucketAccountId
public final String bucketAccountId()
The Amazon Web Services account ID associated with the S3 bucket associated with this access point.
- Returns:
- The Amazon Web Services account ID associated with the S3 bucket associated with this access point.
-
toBuilder
public GetAccessPointResponse.Builder toBuilder()
- Specified by:
toBuilderin interfaceToCopyableBuilder<GetAccessPointResponse.Builder,GetAccessPointResponse>- Specified by:
toBuilderin classAwsResponse
-
builder
public static GetAccessPointResponse.Builder builder()
-
serializableBuilderClass
public static Class<? extends GetAccessPointResponse.Builder> serializableBuilderClass()
-
hashCode
public final int hashCode()
- Overrides:
hashCodein classAwsResponse
-
equals
public final boolean equals(Object obj)
- Overrides:
equalsin classAwsResponse
-
equalsBySdkFields
public final boolean equalsBySdkFields(Object obj)
- Specified by:
equalsBySdkFieldsin interfaceSdkPojo
-
toString
public final String toString()
Returns a string representation of this object. This is useful for testing and debugging. Sensitive data will be redacted from this string using a placeholder value.
-
getValueForField
public final <T> Optional<T> getValueForField(String fieldName, Class<T> clazz)
- Overrides:
getValueForFieldin classSdkResponse
-
-