@Generated(value="com.amazonaws:aws-java-sdk-code-generator") public class CreateLocationS3Request extends AmazonWebServiceRequest implements Serializable, Cloneable
CreateLocationS3Request
NOOP| Constructor and Description | 
|---|
CreateLocationS3Request()  | 
| Modifier and Type | Method and Description | 
|---|---|
CreateLocationS3Request | 
clone()
Creates a shallow clone of this object for all fields except the handler context. 
 | 
boolean | 
equals(Object obj)  | 
List<String> | 
getAgentArns()
 If you're using DataSync on an Amazon Web Services Outpost, specify the Amazon Resource Names (ARNs) of the
 DataSync agents deployed on your Outpost. 
 | 
String | 
getS3BucketArn()
 The ARN of the Amazon S3 bucket. 
 | 
S3Config | 
getS3Config()  | 
String | 
getS3StorageClass()
 The Amazon S3 storage class that you want to store your files in when this location is used as a task
 destination. 
 | 
String | 
getSubdirectory()
 A subdirectory in the Amazon S3 bucket. 
 | 
List<TagListEntry> | 
getTags()
 The key-value pair that represents the tag that you want to add to the location. 
 | 
int | 
hashCode()  | 
void | 
setAgentArns(Collection<String> agentArns)
 If you're using DataSync on an Amazon Web Services Outpost, specify the Amazon Resource Names (ARNs) of the
 DataSync agents deployed on your Outpost. 
 | 
void | 
setS3BucketArn(String s3BucketArn)
 The ARN of the Amazon S3 bucket. 
 | 
void | 
setS3Config(S3Config s3Config)  | 
void | 
setS3StorageClass(String s3StorageClass)
 The Amazon S3 storage class that you want to store your files in when this location is used as a task
 destination. 
 | 
void | 
setSubdirectory(String subdirectory)
 A subdirectory in the Amazon S3 bucket. 
 | 
void | 
setTags(Collection<TagListEntry> tags)
 The key-value pair that represents the tag that you want to add to the location. 
 | 
String | 
toString()
Returns a string representation of this object. 
 | 
CreateLocationS3Request | 
withAgentArns(Collection<String> agentArns)
 If you're using DataSync on an Amazon Web Services Outpost, specify the Amazon Resource Names (ARNs) of the
 DataSync agents deployed on your Outpost. 
 | 
CreateLocationS3Request | 
withAgentArns(String... agentArns)
 If you're using DataSync on an Amazon Web Services Outpost, specify the Amazon Resource Names (ARNs) of the
 DataSync agents deployed on your Outpost. 
 | 
CreateLocationS3Request | 
withS3BucketArn(String s3BucketArn)
 The ARN of the Amazon S3 bucket. 
 | 
CreateLocationS3Request | 
withS3Config(S3Config s3Config)  | 
CreateLocationS3Request | 
withS3StorageClass(S3StorageClass s3StorageClass)
 The Amazon S3 storage class that you want to store your files in when this location is used as a task
 destination. 
 | 
CreateLocationS3Request | 
withS3StorageClass(String s3StorageClass)
 The Amazon S3 storage class that you want to store your files in when this location is used as a task
 destination. 
 | 
CreateLocationS3Request | 
withSubdirectory(String subdirectory)
 A subdirectory in the Amazon S3 bucket. 
 | 
CreateLocationS3Request | 
withTags(Collection<TagListEntry> tags)
 The key-value pair that represents the tag that you want to add to the location. 
 | 
CreateLocationS3Request | 
withTags(TagListEntry... tags)
 The key-value pair that represents the tag that you want to add to the location. 
 | 
addHandlerContext, getCloneRoot, getCloneSource, getCustomQueryParameters, getCustomRequestHeaders, getGeneralProgressListener, getHandlerContext, getReadLimit, getRequestClientOptions, getRequestCredentials, getRequestCredentialsProvider, getRequestMetricCollector, getSdkClientExecutionTimeout, getSdkRequestTimeout, putCustomQueryParameter, putCustomRequestHeader, setGeneralProgressListener, setRequestCredentials, setRequestCredentialsProvider, setRequestMetricCollector, setSdkClientExecutionTimeout, setSdkRequestTimeout, withGeneralProgressListener, withRequestCredentialsProvider, withRequestMetricCollector, withSdkClientExecutionTimeout, withSdkRequestTimeoutpublic void setSubdirectory(String subdirectory)
A subdirectory in the Amazon S3 bucket. This subdirectory in Amazon S3 is used to read data from the S3 source location or write data to the S3 destination.
subdirectory - A subdirectory in the Amazon S3 bucket. This subdirectory in Amazon S3 is used to read data from the S3
        source location or write data to the S3 destination.public String getSubdirectory()
A subdirectory in the Amazon S3 bucket. This subdirectory in Amazon S3 is used to read data from the S3 source location or write data to the S3 destination.
public CreateLocationS3Request withSubdirectory(String subdirectory)
A subdirectory in the Amazon S3 bucket. This subdirectory in Amazon S3 is used to read data from the S3 source location or write data to the S3 destination.
subdirectory - A subdirectory in the Amazon S3 bucket. This subdirectory in Amazon S3 is used to read data from the S3
        source location or write data to the S3 destination.public void setS3BucketArn(String s3BucketArn)
The ARN of the Amazon S3 bucket. If the bucket is on an Amazon Web Services Outpost, this must be an access point ARN.
s3BucketArn - The ARN of the Amazon S3 bucket. If the bucket is on an Amazon Web Services Outpost, this must be an
        access point ARN.public String getS3BucketArn()
The ARN of the Amazon S3 bucket. If the bucket is on an Amazon Web Services Outpost, this must be an access point ARN.
public CreateLocationS3Request withS3BucketArn(String s3BucketArn)
The ARN of the Amazon S3 bucket. If the bucket is on an Amazon Web Services Outpost, this must be an access point ARN.
s3BucketArn - The ARN of the Amazon S3 bucket. If the bucket is on an Amazon Web Services Outpost, this must be an
        access point ARN.public void setS3StorageClass(String s3StorageClass)
The Amazon S3 storage class that you want to store your files in when this location is used as a task destination. For buckets in Amazon Web Services Regions, the storage class defaults to Standard. For buckets on Outposts, the storage class defaults to Amazon Web Services S3 Outposts.
For more information about S3 storage classes, see Amazon S3 Storage Classes. Some storage classes have behaviors that can affect your S3 storage cost. For detailed information, see Considerations when working with S3 storage classes in DataSync.
s3StorageClass - The Amazon S3 storage class that you want to store your files in when this location is used as a task
        destination. For buckets in Amazon Web Services Regions, the storage class defaults to Standard. For
        buckets on Outposts, the storage class defaults to Amazon Web Services S3 Outposts.
        For more information about S3 storage classes, see Amazon S3 Storage Classes. Some storage classes have behaviors that can affect your S3 storage cost. For detailed information, see Considerations when working with S3 storage classes in DataSync.
S3StorageClasspublic String getS3StorageClass()
The Amazon S3 storage class that you want to store your files in when this location is used as a task destination. For buckets in Amazon Web Services Regions, the storage class defaults to Standard. For buckets on Outposts, the storage class defaults to Amazon Web Services S3 Outposts.
For more information about S3 storage classes, see Amazon S3 Storage Classes. Some storage classes have behaviors that can affect your S3 storage cost. For detailed information, see Considerations when working with S3 storage classes in DataSync.
For more information about S3 storage classes, see Amazon S3 Storage Classes. Some storage classes have behaviors that can affect your S3 storage cost. For detailed information, see Considerations when working with S3 storage classes in DataSync.
S3StorageClasspublic CreateLocationS3Request withS3StorageClass(String s3StorageClass)
The Amazon S3 storage class that you want to store your files in when this location is used as a task destination. For buckets in Amazon Web Services Regions, the storage class defaults to Standard. For buckets on Outposts, the storage class defaults to Amazon Web Services S3 Outposts.
For more information about S3 storage classes, see Amazon S3 Storage Classes. Some storage classes have behaviors that can affect your S3 storage cost. For detailed information, see Considerations when working with S3 storage classes in DataSync.
s3StorageClass - The Amazon S3 storage class that you want to store your files in when this location is used as a task
        destination. For buckets in Amazon Web Services Regions, the storage class defaults to Standard. For
        buckets on Outposts, the storage class defaults to Amazon Web Services S3 Outposts.
        For more information about S3 storage classes, see Amazon S3 Storage Classes. Some storage classes have behaviors that can affect your S3 storage cost. For detailed information, see Considerations when working with S3 storage classes in DataSync.
S3StorageClasspublic CreateLocationS3Request withS3StorageClass(S3StorageClass s3StorageClass)
The Amazon S3 storage class that you want to store your files in when this location is used as a task destination. For buckets in Amazon Web Services Regions, the storage class defaults to Standard. For buckets on Outposts, the storage class defaults to Amazon Web Services S3 Outposts.
For more information about S3 storage classes, see Amazon S3 Storage Classes. Some storage classes have behaviors that can affect your S3 storage cost. For detailed information, see Considerations when working with S3 storage classes in DataSync.
s3StorageClass - The Amazon S3 storage class that you want to store your files in when this location is used as a task
        destination. For buckets in Amazon Web Services Regions, the storage class defaults to Standard. For
        buckets on Outposts, the storage class defaults to Amazon Web Services S3 Outposts.
        For more information about S3 storage classes, see Amazon S3 Storage Classes. Some storage classes have behaviors that can affect your S3 storage cost. For detailed information, see Considerations when working with S3 storage classes in DataSync.
S3StorageClasspublic void setS3Config(S3Config s3Config)
s3Config - public S3Config getS3Config()
public CreateLocationS3Request withS3Config(S3Config s3Config)
s3Config - public List<String> getAgentArns()
If you're using DataSync on an Amazon Web Services Outpost, specify the Amazon Resource Names (ARNs) of the DataSync agents deployed on your Outpost. For more information about launching a DataSync agent on an Amazon Web Services Outpost, see Deploy your DataSync agent on Outposts.
public void setAgentArns(Collection<String> agentArns)
If you're using DataSync on an Amazon Web Services Outpost, specify the Amazon Resource Names (ARNs) of the DataSync agents deployed on your Outpost. For more information about launching a DataSync agent on an Amazon Web Services Outpost, see Deploy your DataSync agent on Outposts.
agentArns - If you're using DataSync on an Amazon Web Services Outpost, specify the Amazon Resource Names (ARNs) of
        the DataSync agents deployed on your Outpost. For more information about launching a DataSync agent on an
        Amazon Web Services Outpost, see Deploy your
        DataSync agent on Outposts.public CreateLocationS3Request withAgentArns(String... agentArns)
If you're using DataSync on an Amazon Web Services Outpost, specify the Amazon Resource Names (ARNs) of the DataSync agents deployed on your Outpost. For more information about launching a DataSync agent on an Amazon Web Services Outpost, see Deploy your DataSync agent on Outposts.
 NOTE: This method appends the values to the existing list (if any). Use
 setAgentArns(java.util.Collection) or withAgentArns(java.util.Collection) if you want to
 override the existing values.
 
agentArns - If you're using DataSync on an Amazon Web Services Outpost, specify the Amazon Resource Names (ARNs) of
        the DataSync agents deployed on your Outpost. For more information about launching a DataSync agent on an
        Amazon Web Services Outpost, see Deploy your
        DataSync agent on Outposts.public CreateLocationS3Request withAgentArns(Collection<String> agentArns)
If you're using DataSync on an Amazon Web Services Outpost, specify the Amazon Resource Names (ARNs) of the DataSync agents deployed on your Outpost. For more information about launching a DataSync agent on an Amazon Web Services Outpost, see Deploy your DataSync agent on Outposts.
agentArns - If you're using DataSync on an Amazon Web Services Outpost, specify the Amazon Resource Names (ARNs) of
        the DataSync agents deployed on your Outpost. For more information about launching a DataSync agent on an
        Amazon Web Services Outpost, see Deploy your
        DataSync agent on Outposts.public List<TagListEntry> getTags()
The key-value pair that represents the tag that you want to add to the location. The value can be an empty string. We recommend using tags to name your resources.
public void setTags(Collection<TagListEntry> tags)
The key-value pair that represents the tag that you want to add to the location. The value can be an empty string. We recommend using tags to name your resources.
tags - The key-value pair that represents the tag that you want to add to the location. The value can be an empty
        string. We recommend using tags to name your resources.public CreateLocationS3Request withTags(TagListEntry... tags)
The key-value pair that represents the tag that you want to add to the location. The value can be an empty string. We recommend using tags to name your resources.
 NOTE: This method appends the values to the existing list (if any). Use
 setTags(java.util.Collection) or withTags(java.util.Collection) if you want to override the
 existing values.
 
tags - The key-value pair that represents the tag that you want to add to the location. The value can be an empty
        string. We recommend using tags to name your resources.public CreateLocationS3Request withTags(Collection<TagListEntry> tags)
The key-value pair that represents the tag that you want to add to the location. The value can be an empty string. We recommend using tags to name your resources.
tags - The key-value pair that represents the tag that you want to add to the location. The value can be an empty
        string. We recommend using tags to name your resources.public String toString()
toString in class ObjectObject.toString()public CreateLocationS3Request clone()
AmazonWebServiceRequestclone in class AmazonWebServiceRequestObject.clone()