Class S3InputFileLocation
- All Implemented Interfaces:
Serializable
,SdkPojo
,ToCopyableBuilder<S3InputFileLocation.Builder,
S3InputFileLocation>
Specifies the customer input Amazon S3 file location. If it is used inside
copyStepDetails.DestinationFileLocation
, it should be the S3 copy destination.
You need to provide the bucket and key. The key can represent either a path or a file. This is determined by whether or not you end the key value with the forward slash (/) character. If the final character is "/", then your file is copied to the folder, and its name does not change. If, rather, the final character is alphanumeric, your uploaded file is renamed to the path value. In this case, if a file with that name already exists, it is overwritten.
For example, if your path is shared-files/bob/
, your uploaded files are copied to the
shared-files/bob/
, folder. If your path is shared-files/today
, each uploaded file is copied
to the shared-files
folder and named today
: each upload overwrites the previous version of
the bob file.
- See Also:
-
Nested Class Summary
Nested Classes -
Method Summary
Modifier and TypeMethodDescriptionfinal String
bucket()
Specifies the S3 bucket for the customer input file.static S3InputFileLocation.Builder
builder()
final boolean
final boolean
equalsBySdkFields
(Object obj) Indicates whether some other object is "equal to" this one by SDK fields.final <T> Optional
<T> getValueForField
(String fieldName, Class<T> clazz) final int
hashCode()
final String
key()
The name assigned to the file when it was created in Amazon S3.static Class
<? extends S3InputFileLocation.Builder> Take this object and create a builder that contains all of the current property values of this object.final String
toString()
Returns a string representation of this object.Methods inherited from interface software.amazon.awssdk.utils.builder.ToCopyableBuilder
copy
-
Method Details
-
bucket
Specifies the S3 bucket for the customer input file.
- Returns:
- Specifies the S3 bucket for the customer input file.
-
key
The name assigned to the file when it was created in Amazon S3. You use the object key to retrieve the object.
- Returns:
- The name assigned to the file when it was created in Amazon S3. You use the object key to retrieve the object.
-
toBuilder
Description copied from interface:ToCopyableBuilder
Take this object and create a builder that contains all of the current property values of this object.- Specified by:
toBuilder
in interfaceToCopyableBuilder<S3InputFileLocation.Builder,
S3InputFileLocation> - Returns:
- a builder for type T
-
builder
-
serializableBuilderClass
-
hashCode
-
equals
-
equalsBySdkFields
Description copied from interface:SdkPojo
Indicates whether some other object is "equal to" this one by SDK fields. An SDK field is a modeled, non-inherited field in anSdkPojo
class, and is generated based on a service model.If an
SdkPojo
class does not have any inherited fields,equalsBySdkFields
andequals
are essentially the same.- Specified by:
equalsBySdkFields
in interfaceSdkPojo
- Parameters:
obj
- the object to be compared with- Returns:
- true if the other object equals to this object by sdk fields, false otherwise.
-
toString
-
getValueForField
-
sdkFields
-