@Generated(value="com.amazonaws:aws-java-sdk-code-generator") public class S3DataAccessAssetSourceEntry extends Object implements Serializable, Cloneable, StructuredPojo
Source details for an Amazon S3 data access asset.
Constructor and Description |
---|
S3DataAccessAssetSourceEntry() |
Modifier and Type | Method and Description |
---|---|
S3DataAccessAssetSourceEntry |
clone() |
boolean |
equals(Object obj) |
String |
getBucket()
The Amazon S3 bucket used for hosting shared data in the Amazon S3 data access.
|
List<String> |
getKeyPrefixes()
Organizes Amazon S3 asset key prefixes stored in an Amazon S3 bucket.
|
List<String> |
getKeys()
The keys used to create the Amazon S3 data access.
|
List<KmsKeyToGrant> |
getKmsKeysToGrant()
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.
|
int |
hashCode() |
void |
marshall(ProtocolMarshaller protocolMarshaller)
Marshalls this structured data using the given
ProtocolMarshaller . |
void |
setBucket(String bucket)
The Amazon S3 bucket used for hosting shared data in the Amazon S3 data access.
|
void |
setKeyPrefixes(Collection<String> keyPrefixes)
Organizes Amazon S3 asset key prefixes stored in an Amazon S3 bucket.
|
void |
setKeys(Collection<String> keys)
The keys used to create the Amazon S3 data access.
|
void |
setKmsKeysToGrant(Collection<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 |
toString()
Returns a string representation of this object.
|
S3DataAccessAssetSourceEntry |
withBucket(String bucket)
The Amazon S3 bucket used for hosting shared data in the Amazon S3 data access.
|
S3DataAccessAssetSourceEntry |
withKeyPrefixes(Collection<String> keyPrefixes)
Organizes Amazon S3 asset key prefixes stored in an Amazon S3 bucket.
|
S3DataAccessAssetSourceEntry |
withKeyPrefixes(String... keyPrefixes)
Organizes Amazon S3 asset key prefixes stored in an Amazon S3 bucket.
|
S3DataAccessAssetSourceEntry |
withKeys(Collection<String> keys)
The keys used to create the Amazon S3 data access.
|
S3DataAccessAssetSourceEntry |
withKeys(String... keys)
The keys used to create the Amazon S3 data access.
|
S3DataAccessAssetSourceEntry |
withKmsKeysToGrant(Collection<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.
|
S3DataAccessAssetSourceEntry |
withKmsKeysToGrant(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.
|
public void setBucket(String bucket)
The Amazon S3 bucket used for hosting shared data in the Amazon S3 data access.
bucket
- The Amazon S3 bucket used for hosting shared data in the Amazon S3 data access.public String getBucket()
The Amazon S3 bucket used for hosting shared data in the Amazon S3 data access.
public S3DataAccessAssetSourceEntry withBucket(String bucket)
The Amazon S3 bucket used for hosting shared data in the Amazon S3 data access.
bucket
- The Amazon S3 bucket used for hosting shared data in the Amazon S3 data access.public List<String> getKeyPrefixes()
Organizes Amazon S3 asset key prefixes stored in an Amazon S3 bucket.
public void setKeyPrefixes(Collection<String> keyPrefixes)
Organizes Amazon S3 asset key prefixes stored in an Amazon S3 bucket.
keyPrefixes
- Organizes Amazon S3 asset key prefixes stored in an Amazon S3 bucket.public S3DataAccessAssetSourceEntry withKeyPrefixes(String... keyPrefixes)
Organizes Amazon S3 asset key prefixes stored in an Amazon S3 bucket.
NOTE: This method appends the values to the existing list (if any). Use
setKeyPrefixes(java.util.Collection)
or withKeyPrefixes(java.util.Collection)
if you want to
override the existing values.
keyPrefixes
- Organizes Amazon S3 asset key prefixes stored in an Amazon S3 bucket.public S3DataAccessAssetSourceEntry withKeyPrefixes(Collection<String> keyPrefixes)
Organizes Amazon S3 asset key prefixes stored in an Amazon S3 bucket.
keyPrefixes
- Organizes Amazon S3 asset key prefixes stored in an Amazon S3 bucket.public List<String> getKeys()
The keys used to create the Amazon S3 data access.
public void setKeys(Collection<String> keys)
The keys used to create the Amazon S3 data access.
keys
- The keys used to create the Amazon S3 data access.public S3DataAccessAssetSourceEntry withKeys(String... keys)
The keys used to create the Amazon S3 data access.
NOTE: This method appends the values to the existing list (if any). Use
setKeys(java.util.Collection)
or withKeys(java.util.Collection)
if you want to override the
existing values.
keys
- The keys used to create the Amazon S3 data access.public S3DataAccessAssetSourceEntry withKeys(Collection<String> keys)
The keys used to create the Amazon S3 data access.
keys
- The keys used to create the Amazon S3 data access.public List<KmsKeyToGrant> getKmsKeysToGrant()
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.
public void setKmsKeysToGrant(Collection<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.
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.public S3DataAccessAssetSourceEntry withKmsKeysToGrant(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.
NOTE: This method appends the values to the existing list (if any). Use
setKmsKeysToGrant(java.util.Collection)
or withKmsKeysToGrant(java.util.Collection)
if you want
to override the existing values.
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.public S3DataAccessAssetSourceEntry withKmsKeysToGrant(Collection<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.
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.public String toString()
toString
in class Object
Object.toString()
public S3DataAccessAssetSourceEntry clone()
public void marshall(ProtocolMarshaller protocolMarshaller)
StructuredPojo
ProtocolMarshaller
.marshall
in interface StructuredPojo
protocolMarshaller
- Implementation of ProtocolMarshaller
used to marshall this object's data.