@Generated(value="com.amazonaws:aws-java-sdk-code-generator") public class S3DataAccessAsset extends Object implements Serializable, Cloneable, StructuredPojo
The Amazon S3 data access that is the asset.
Constructor and Description |
---|
S3DataAccessAsset() |
Modifier and Type | Method and Description |
---|---|
S3DataAccessAsset |
clone() |
boolean |
equals(Object obj) |
String |
getBucket()
The Amazon S3 bucket hosting data to be shared in the S3 data access.
|
List<String> |
getKeyPrefixes()
The Amazon S3 bucket used for hosting shared data in the Amazon S3 data access.
|
List<String> |
getKeys()
S3 keys made available using this asset.
|
String |
getS3AccessPointAlias()
The automatically-generated bucket-style alias for your Amazon S3 Access Point.
|
String |
getS3AccessPointArn()
The ARN for your Amazon S3 Access Point.
|
int |
hashCode() |
void |
marshall(ProtocolMarshaller protocolMarshaller)
Marshalls this structured data using the given
ProtocolMarshaller . |
void |
setBucket(String bucket)
The Amazon S3 bucket hosting data to be shared in the S3 data access.
|
void |
setKeyPrefixes(Collection<String> keyPrefixes)
The Amazon S3 bucket used for hosting shared data in the Amazon S3 data access.
|
void |
setKeys(Collection<String> keys)
S3 keys made available using this asset.
|
void |
setS3AccessPointAlias(String s3AccessPointAlias)
The automatically-generated bucket-style alias for your Amazon S3 Access Point.
|
void |
setS3AccessPointArn(String s3AccessPointArn)
The ARN for your Amazon S3 Access Point.
|
String |
toString()
Returns a string representation of this object.
|
S3DataAccessAsset |
withBucket(String bucket)
The Amazon S3 bucket hosting data to be shared in the S3 data access.
|
S3DataAccessAsset |
withKeyPrefixes(Collection<String> keyPrefixes)
The Amazon S3 bucket used for hosting shared data in the Amazon S3 data access.
|
S3DataAccessAsset |
withKeyPrefixes(String... keyPrefixes)
The Amazon S3 bucket used for hosting shared data in the Amazon S3 data access.
|
S3DataAccessAsset |
withKeys(Collection<String> keys)
S3 keys made available using this asset.
|
S3DataAccessAsset |
withKeys(String... keys)
S3 keys made available using this asset.
|
S3DataAccessAsset |
withS3AccessPointAlias(String s3AccessPointAlias)
The automatically-generated bucket-style alias for your Amazon S3 Access Point.
|
S3DataAccessAsset |
withS3AccessPointArn(String s3AccessPointArn)
The ARN for your Amazon S3 Access Point.
|
public void setBucket(String bucket)
The Amazon S3 bucket hosting data to be shared in the S3 data access.
bucket
- The Amazon S3 bucket hosting data to be shared in the S3 data access.public String getBucket()
The Amazon S3 bucket hosting data to be shared in the S3 data access.
public S3DataAccessAsset withBucket(String bucket)
The Amazon S3 bucket hosting data to be shared in the S3 data access.
bucket
- The Amazon S3 bucket hosting data to be shared in the S3 data access.public List<String> getKeyPrefixes()
The Amazon S3 bucket used for hosting shared data in the Amazon S3 data access.
public void setKeyPrefixes(Collection<String> keyPrefixes)
The Amazon S3 bucket used for hosting shared data in the Amazon S3 data access.
keyPrefixes
- The Amazon S3 bucket used for hosting shared data in the Amazon S3 data access.public S3DataAccessAsset withKeyPrefixes(String... keyPrefixes)
The Amazon S3 bucket used for hosting shared data in the Amazon S3 data access.
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
- The Amazon S3 bucket used for hosting shared data in the Amazon S3 data access.public S3DataAccessAsset withKeyPrefixes(Collection<String> keyPrefixes)
The Amazon S3 bucket used for hosting shared data in the Amazon S3 data access.
keyPrefixes
- The Amazon S3 bucket used for hosting shared data in the Amazon S3 data access.public List<String> getKeys()
S3 keys made available using this asset.
public void setKeys(Collection<String> keys)
S3 keys made available using this asset.
keys
- S3 keys made available using this asset.public S3DataAccessAsset withKeys(String... keys)
S3 keys made available using this asset.
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
- S3 keys made available using this asset.public S3DataAccessAsset withKeys(Collection<String> keys)
S3 keys made available using this asset.
keys
- S3 keys made available using this asset.public void setS3AccessPointAlias(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.
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 String getS3AccessPointAlias()
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 S3DataAccessAsset withS3AccessPointAlias(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.
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 void setS3AccessPointArn(String s3AccessPointArn)
The ARN for your Amazon S3 Access Point. Customers can also access their entitled data using the S3 Access Point ARN.
s3AccessPointArn
- The ARN for your Amazon S3 Access Point. Customers can also access their entitled data using the S3 Access
Point ARN.public String getS3AccessPointArn()
The ARN for your Amazon S3 Access Point. Customers can also access their entitled data using the S3 Access Point ARN.
public S3DataAccessAsset withS3AccessPointArn(String s3AccessPointArn)
The ARN for your Amazon S3 Access Point. Customers can also access their entitled data using the S3 Access Point ARN.
s3AccessPointArn
- The ARN for your Amazon S3 Access Point. Customers can also access their entitled data using the S3 Access
Point ARN.public String toString()
toString
in class Object
Object.toString()
public S3DataAccessAsset clone()
public void marshall(ProtocolMarshaller protocolMarshaller)
StructuredPojo
ProtocolMarshaller
.marshall
in interface StructuredPojo
protocolMarshaller
- Implementation of ProtocolMarshaller
used to marshall this object's data.