Class AccessPoint
- java.lang.Object
-
- software.amazon.awssdk.services.s3control.model.AccessPoint
-
- All Implemented Interfaces:
Serializable,SdkPojo,ToCopyableBuilder<AccessPoint.Builder,AccessPoint>
@Generated("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.
- See Also:
- Serialized Form
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static interfaceAccessPoint.Builder
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description StringaccessPointArn()The ARN for the access point.Stringalias()The name or alias of the access point.Stringbucket()The name of the bucket associated with this access point.StringbucketAccountId()The Amazon Web Services account ID associated with the S3 bucket associated with this access point.static AccessPoint.Builderbuilder()booleanequals(Object obj)booleanequalsBySdkFields(Object obj)<T> Optional<T>getValueForField(String fieldName, Class<T> clazz)inthashCode()Stringname()The name of this 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.List<SdkField<?>>sdkFields()static Class<? extends AccessPoint.Builder>serializableBuilderClass()AccessPoint.BuildertoBuilder()StringtoString()Returns a string representation of this object.VpcConfigurationvpcConfiguration()The virtual private cloud (VPC) configuration for this access point, if one exists.-
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 this access point.
- Returns:
- The name of this 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.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. - 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.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. - See Also:
NetworkOrigin
-
vpcConfiguration
public 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.
- Returns:
- 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.
-
bucket
public final String bucket()
The name of the bucket associated with this access point.
- Returns:
- The name of the bucket associated with this access point.
-
accessPointArn
public final String accessPointArn()
The ARN for the access point.
- Returns:
- The ARN for the access point.
-
alias
public final String alias()
The name or alias of the access point.
- Returns:
- The name or alias of 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 AccessPoint.Builder toBuilder()
- Specified by:
toBuilderin interfaceToCopyableBuilder<AccessPoint.Builder,AccessPoint>
-
builder
public static AccessPoint.Builder builder()
-
serializableBuilderClass
public static Class<? extends AccessPoint.Builder> serializableBuilderClass()
-
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.
-
-