@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()
(Amazon S3 on Outposts only) Specifies the Amazon Resource Name (ARN) of the DataSync agent on your Outpost.
|
String |
getS3BucketArn()
Specifies the ARN of the S3 bucket that you want to use as a location.
|
S3Config |
getS3Config() |
String |
getS3StorageClass()
Specifies the storage class that you want your objects to use when Amazon S3 is a transfer destination.
|
String |
getSubdirectory()
Specifies a prefix in the S3 bucket that DataSync reads from or writes to (depending on whether the bucket is a
source or destination location).
|
List<TagListEntry> |
getTags()
Specifies labels that help you categorize, filter, and search for your Amazon Web Services resources.
|
int |
hashCode() |
void |
setAgentArns(Collection<String> agentArns)
(Amazon S3 on Outposts only) Specifies the Amazon Resource Name (ARN) of the DataSync agent on your Outpost.
|
void |
setS3BucketArn(String s3BucketArn)
Specifies the ARN of the S3 bucket that you want to use as a location.
|
void |
setS3Config(S3Config s3Config) |
void |
setS3StorageClass(String s3StorageClass)
Specifies the storage class that you want your objects to use when Amazon S3 is a transfer destination.
|
void |
setSubdirectory(String subdirectory)
Specifies a prefix in the S3 bucket that DataSync reads from or writes to (depending on whether the bucket is a
source or destination location).
|
void |
setTags(Collection<TagListEntry> tags)
Specifies labels that help you categorize, filter, and search for your Amazon Web Services resources.
|
String |
toString()
Returns a string representation of this object.
|
CreateLocationS3Request |
withAgentArns(Collection<String> agentArns)
(Amazon S3 on Outposts only) Specifies the Amazon Resource Name (ARN) of the DataSync agent on your Outpost.
|
CreateLocationS3Request |
withAgentArns(String... agentArns)
(Amazon S3 on Outposts only) Specifies the Amazon Resource Name (ARN) of the DataSync agent on your Outpost.
|
CreateLocationS3Request |
withS3BucketArn(String s3BucketArn)
Specifies the ARN of the S3 bucket that you want to use as a location.
|
CreateLocationS3Request |
withS3Config(S3Config s3Config) |
CreateLocationS3Request |
withS3StorageClass(S3StorageClass s3StorageClass)
Specifies the storage class that you want your objects to use when Amazon S3 is a transfer destination.
|
CreateLocationS3Request |
withS3StorageClass(String s3StorageClass)
Specifies the storage class that you want your objects to use when Amazon S3 is a transfer destination.
|
CreateLocationS3Request |
withSubdirectory(String subdirectory)
Specifies a prefix in the S3 bucket that DataSync reads from or writes to (depending on whether the bucket is a
source or destination location).
|
CreateLocationS3Request |
withTags(Collection<TagListEntry> tags)
Specifies labels that help you categorize, filter, and search for your Amazon Web Services resources.
|
CreateLocationS3Request |
withTags(TagListEntry... tags)
Specifies labels that help you categorize, filter, and search for your Amazon Web Services resources.
|
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, withSdkRequestTimeout
public void setSubdirectory(String subdirectory)
Specifies a prefix in the S3 bucket that DataSync reads from or writes to (depending on whether the bucket is a source or destination location).
DataSync can't transfer objects with a prefix that begins with a slash (/
) or includes
//
, /./
, or /../
patterns. For example:
/photos
photos//2006/January
photos/./2006/February
photos/../2006/March
subdirectory
- Specifies a prefix in the S3 bucket that DataSync reads from or writes to (depending on whether the bucket
is a source or destination location).
DataSync can't transfer objects with a prefix that begins with a slash (/
) or includes
//
, /./
, or /../
patterns. For example:
/photos
photos//2006/January
photos/./2006/February
photos/../2006/March
public String getSubdirectory()
Specifies a prefix in the S3 bucket that DataSync reads from or writes to (depending on whether the bucket is a source or destination location).
DataSync can't transfer objects with a prefix that begins with a slash (/
) or includes
//
, /./
, or /../
patterns. For example:
/photos
photos//2006/January
photos/./2006/February
photos/../2006/March
DataSync can't transfer objects with a prefix that begins with a slash (/
) or includes
//
, /./
, or /../
patterns. For example:
/photos
photos//2006/January
photos/./2006/February
photos/../2006/March
public CreateLocationS3Request withSubdirectory(String subdirectory)
Specifies a prefix in the S3 bucket that DataSync reads from or writes to (depending on whether the bucket is a source or destination location).
DataSync can't transfer objects with a prefix that begins with a slash (/
) or includes
//
, /./
, or /../
patterns. For example:
/photos
photos//2006/January
photos/./2006/February
photos/../2006/March
subdirectory
- Specifies a prefix in the S3 bucket that DataSync reads from or writes to (depending on whether the bucket
is a source or destination location).
DataSync can't transfer objects with a prefix that begins with a slash (/
) or includes
//
, /./
, or /../
patterns. For example:
/photos
photos//2006/January
photos/./2006/February
photos/../2006/March
public void setS3BucketArn(String s3BucketArn)
Specifies the ARN of the S3 bucket that you want to use as a location. (When creating your DataSync task later, you specify whether this location is a transfer source or destination.)
If your S3 bucket is located on an Outposts resource, you must specify an Amazon S3 access point. For more information, see Managing data access with Amazon S3 access points in the Amazon S3 User Guide.
s3BucketArn
- Specifies the ARN of the S3 bucket that you want to use as a location. (When creating your DataSync task
later, you specify whether this location is a transfer source or destination.)
If your S3 bucket is located on an Outposts resource, you must specify an Amazon S3 access point. For more information, see Managing data access with Amazon S3 access points in the Amazon S3 User Guide.
public String getS3BucketArn()
Specifies the ARN of the S3 bucket that you want to use as a location. (When creating your DataSync task later, you specify whether this location is a transfer source or destination.)
If your S3 bucket is located on an Outposts resource, you must specify an Amazon S3 access point. For more information, see Managing data access with Amazon S3 access points in the Amazon S3 User Guide.
If your S3 bucket is located on an Outposts resource, you must specify an Amazon S3 access point. For more information, see Managing data access with Amazon S3 access points in the Amazon S3 User Guide.
public CreateLocationS3Request withS3BucketArn(String s3BucketArn)
Specifies the ARN of the S3 bucket that you want to use as a location. (When creating your DataSync task later, you specify whether this location is a transfer source or destination.)
If your S3 bucket is located on an Outposts resource, you must specify an Amazon S3 access point. For more information, see Managing data access with Amazon S3 access points in the Amazon S3 User Guide.
s3BucketArn
- Specifies the ARN of the S3 bucket that you want to use as a location. (When creating your DataSync task
later, you specify whether this location is a transfer source or destination.)
If your S3 bucket is located on an Outposts resource, you must specify an Amazon S3 access point. For more information, see Managing data access with Amazon S3 access points in the Amazon S3 User Guide.
public void setS3StorageClass(String s3StorageClass)
Specifies the storage class that you want your objects to use when Amazon S3 is a transfer destination.
For buckets in Amazon Web Services Regions, the storage class defaults to STANDARD
. For buckets on
Outposts, the storage class defaults to OUTPOSTS
.
For more information, see Storage class considerations with Amazon S3 transfers.
s3StorageClass
- Specifies the storage class that you want your objects to use when Amazon S3 is a transfer
destination.
For buckets in Amazon Web Services Regions, the storage class defaults to STANDARD
. For
buckets on Outposts, the storage class defaults to OUTPOSTS
.
For more information, see Storage class considerations with Amazon S3 transfers.
S3StorageClass
public String getS3StorageClass()
Specifies the storage class that you want your objects to use when Amazon S3 is a transfer destination.
For buckets in Amazon Web Services Regions, the storage class defaults to STANDARD
. For buckets on
Outposts, the storage class defaults to OUTPOSTS
.
For more information, see Storage class considerations with Amazon S3 transfers.
For buckets in Amazon Web Services Regions, the storage class defaults to STANDARD
. For
buckets on Outposts, the storage class defaults to OUTPOSTS
.
For more information, see Storage class considerations with Amazon S3 transfers.
S3StorageClass
public CreateLocationS3Request withS3StorageClass(String s3StorageClass)
Specifies the storage class that you want your objects to use when Amazon S3 is a transfer destination.
For buckets in Amazon Web Services Regions, the storage class defaults to STANDARD
. For buckets on
Outposts, the storage class defaults to OUTPOSTS
.
For more information, see Storage class considerations with Amazon S3 transfers.
s3StorageClass
- Specifies the storage class that you want your objects to use when Amazon S3 is a transfer
destination.
For buckets in Amazon Web Services Regions, the storage class defaults to STANDARD
. For
buckets on Outposts, the storage class defaults to OUTPOSTS
.
For more information, see Storage class considerations with Amazon S3 transfers.
S3StorageClass
public CreateLocationS3Request withS3StorageClass(S3StorageClass s3StorageClass)
Specifies the storage class that you want your objects to use when Amazon S3 is a transfer destination.
For buckets in Amazon Web Services Regions, the storage class defaults to STANDARD
. For buckets on
Outposts, the storage class defaults to OUTPOSTS
.
For more information, see Storage class considerations with Amazon S3 transfers.
s3StorageClass
- Specifies the storage class that you want your objects to use when Amazon S3 is a transfer
destination.
For buckets in Amazon Web Services Regions, the storage class defaults to STANDARD
. For
buckets on Outposts, the storage class defaults to OUTPOSTS
.
For more information, see Storage class considerations with Amazon S3 transfers.
S3StorageClass
public void setS3Config(S3Config s3Config)
s3Config
- public S3Config getS3Config()
public CreateLocationS3Request withS3Config(S3Config s3Config)
s3Config
- public List<String> getAgentArns()
(Amazon S3 on Outposts only) Specifies the Amazon Resource Name (ARN) of the DataSync agent on your Outpost.
For more information, see Deploy your DataSync agent on Outposts.
For more information, see Deploy your DataSync agent on Outposts.
public void setAgentArns(Collection<String> agentArns)
(Amazon S3 on Outposts only) Specifies the Amazon Resource Name (ARN) of the DataSync agent on your Outpost.
For more information, see Deploy your DataSync agent on Outposts.
agentArns
- (Amazon S3 on Outposts only) Specifies the Amazon Resource Name (ARN) of the DataSync agent on your
Outpost.
For more information, see Deploy your DataSync agent on Outposts.
public CreateLocationS3Request withAgentArns(String... agentArns)
(Amazon S3 on Outposts only) Specifies the Amazon Resource Name (ARN) of the DataSync agent on your Outpost.
For more information, 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
- (Amazon S3 on Outposts only) Specifies the Amazon Resource Name (ARN) of the DataSync agent on your
Outpost.
For more information, see Deploy your DataSync agent on Outposts.
public CreateLocationS3Request withAgentArns(Collection<String> agentArns)
(Amazon S3 on Outposts only) Specifies the Amazon Resource Name (ARN) of the DataSync agent on your Outpost.
For more information, see Deploy your DataSync agent on Outposts.
agentArns
- (Amazon S3 on Outposts only) Specifies the Amazon Resource Name (ARN) of the DataSync agent on your
Outpost.
For more information, see Deploy your DataSync agent on Outposts.
public List<TagListEntry> getTags()
Specifies labels that help you categorize, filter, and search for your Amazon Web Services resources. We recommend creating at least a name tag for your transfer location.
public void setTags(Collection<TagListEntry> tags)
Specifies labels that help you categorize, filter, and search for your Amazon Web Services resources. We recommend creating at least a name tag for your transfer location.
tags
- Specifies labels that help you categorize, filter, and search for your Amazon Web Services resources. We
recommend creating at least a name tag for your transfer location.public CreateLocationS3Request withTags(TagListEntry... tags)
Specifies labels that help you categorize, filter, and search for your Amazon Web Services resources. We recommend creating at least a name tag for your transfer location.
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
- Specifies labels that help you categorize, filter, and search for your Amazon Web Services resources. We
recommend creating at least a name tag for your transfer location.public CreateLocationS3Request withTags(Collection<TagListEntry> tags)
Specifies labels that help you categorize, filter, and search for your Amazon Web Services resources. We recommend creating at least a name tag for your transfer location.
tags
- Specifies labels that help you categorize, filter, and search for your Amazon Web Services resources. We
recommend creating at least a name tag for your transfer location.public String toString()
toString
in class Object
Object.toString()
public CreateLocationS3Request clone()
AmazonWebServiceRequest
clone
in class AmazonWebServiceRequest
Object.clone()