Class S3FileLocation
- java.lang.Object
-
- software.amazon.awssdk.services.transfer.model.S3FileLocation
-
- All Implemented Interfaces:
Serializable,SdkPojo,ToCopyableBuilder<S3FileLocation.Builder,S3FileLocation>
@Generated("software.amazon.awssdk:codegen") public final class S3FileLocation extends Object implements SdkPojo, Serializable, ToCopyableBuilder<S3FileLocation.Builder,S3FileLocation>
Specifies the details for the file location for the file that's being used in the workflow. Only applicable if you are using S3 storage.
- See Also:
- Serialized Form
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static interfaceS3FileLocation.Builder
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description Stringbucket()Specifies the S3 bucket that contains the file being used.static S3FileLocation.Builderbuilder()booleanequals(Object obj)booleanequalsBySdkFields(Object obj)Stringetag()The entity tag is a hash of the object.<T> Optional<T>getValueForField(String fieldName, Class<T> clazz)inthashCode()Stringkey()The name assigned to the file when it was created in Amazon S3.Map<String,SdkField<?>>sdkFieldNameToField()List<SdkField<?>>sdkFields()static Class<? extends S3FileLocation.Builder>serializableBuilderClass()S3FileLocation.BuildertoBuilder()StringtoString()Returns a string representation of this object.StringversionId()Specifies the file version.-
Methods inherited from class java.lang.Object
clone, finalize, getClass, notify, notifyAll, wait, wait, wait
-
Methods inherited from interface software.amazon.awssdk.utils.builder.ToCopyableBuilder
copy
-
-
-
-
Method Detail
-
bucket
public final String bucket()
Specifies the S3 bucket that contains the file being used.
- Returns:
- Specifies the S3 bucket that contains the file being used.
-
key
public final String 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.
-
versionId
public final String versionId()
Specifies the file version.
- Returns:
- Specifies the file version.
-
etag
public final String etag()
The entity tag is a hash of the object. The ETag reflects changes only to the contents of an object, not its metadata.
- Returns:
- The entity tag is a hash of the object. The ETag reflects changes only to the contents of an object, not its metadata.
-
toBuilder
public S3FileLocation.Builder toBuilder()
- Specified by:
toBuilderin interfaceToCopyableBuilder<S3FileLocation.Builder,S3FileLocation>
-
builder
public static S3FileLocation.Builder builder()
-
serializableBuilderClass
public static Class<? extends S3FileLocation.Builder> serializableBuilderClass()
-
equalsBySdkFields
public final boolean equalsBySdkFields(Object obj)
- Specified by:
equalsBySdkFieldsin interfaceSdkPojo
-
toString
public final String toString()
Returns a string representation of this object. This is useful for testing and debugging. Sensitive data will be redacted from this string using a placeholder value.
-
sdkFieldNameToField
public final Map<String,SdkField<?>> sdkFieldNameToField()
- Specified by:
sdkFieldNameToFieldin interfaceSdkPojo
-
-