@Generated(value="software.amazon.awssdk:codegen") public final class S3DataAccessAsset extends Object implements SdkPojo, Serializable, ToCopyableBuilder<S3DataAccessAsset.Builder,S3DataAccessAsset>
The Amazon S3 data access that is the asset.
| Modifier and Type | Class and Description |
|---|---|
static interface |
S3DataAccessAsset.Builder |
| Modifier and Type | Method and Description |
|---|---|
String |
bucket()
The Amazon S3 bucket hosting data to be shared in the S3 data access.
|
static S3DataAccessAsset.Builder |
builder() |
boolean |
equals(Object obj) |
boolean |
equalsBySdkFields(Object obj) |
<T> Optional<T> |
getValueForField(String fieldName,
Class<T> clazz) |
int |
hashCode() |
boolean |
hasKeyPrefixes()
For responses, this returns true if the service returned a value for the KeyPrefixes property.
|
boolean |
hasKeys()
For responses, this returns true if the service returned a value for the Keys property.
|
boolean |
hasKmsKeysToGrant()
For responses, this returns true if the service returned a value for the KmsKeysToGrant property.
|
List<String> |
keyPrefixes()
The Amazon S3 bucket used for hosting shared data in the Amazon S3 data access.
|
List<String> |
keys()
S3 keys made available using this asset.
|
List<KmsKeyToGrant> |
kmsKeysToGrant()
List of AWS KMS CMKs (Key Management System Customer Managed Keys) and ARNs used to encrypt S3 objects being
shared in this S3 Data Access asset.
|
String |
s3AccessPointAlias()
The automatically-generated bucket-style alias for your Amazon S3 Access Point.
|
String |
s3AccessPointArn()
The ARN for your Amazon S3 Access Point.
|
List<SdkField<?>> |
sdkFields() |
static Class<? extends S3DataAccessAsset.Builder> |
serializableBuilderClass() |
S3DataAccessAsset.Builder |
toBuilder() |
String |
toString()
Returns a string representation of this object.
|
clone, finalize, getClass, notify, notifyAll, wait, wait, waitcopypublic final String bucket()
The Amazon S3 bucket hosting data to be shared in the S3 data access.
public final boolean hasKeyPrefixes()
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 List<String> keyPrefixes()
The Amazon S3 bucket used for hosting shared data in the Amazon S3 data access.
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 hasKeyPrefixes() method.
public final boolean hasKeys()
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 List<String> keys()
S3 keys made available using this asset.
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 hasKeys() method.
public final String s3AccessPointAlias()
The automatically-generated bucket-style alias for your Amazon S3 Access Point. Customers can access their entitled data using the S3 Access Point alias.
public final String s3AccessPointArn()
The ARN for your Amazon S3 Access Point. Customers can also access their entitled data using the S3 Access Point ARN.
public final boolean hasKmsKeysToGrant()
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 List<KmsKeyToGrant> kmsKeysToGrant()
List of AWS KMS CMKs (Key Management System Customer Managed Keys) and ARNs used to encrypt S3 objects being shared in this S3 Data Access asset. Providers must include all AWS KMS keys used to encrypt these shared S3 objects.
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 hasKmsKeysToGrant() method.
public S3DataAccessAsset.Builder toBuilder()
toBuilder in interface ToCopyableBuilder<S3DataAccessAsset.Builder,S3DataAccessAsset>public static S3DataAccessAsset.Builder builder()
public static Class<? extends S3DataAccessAsset.Builder> serializableBuilderClass()
public final boolean equalsBySdkFields(Object obj)
equalsBySdkFields in interface SdkPojopublic final String toString()
Copyright © 2023. All rights reserved.