Class FileLocation
java.lang.Object
software.amazon.awssdk.services.transfer.model.FileLocation
- All Implemented Interfaces:
Serializable,SdkPojo,ToCopyableBuilder<FileLocation.Builder,FileLocation>
@Generated("software.amazon.awssdk:codegen")
public final class FileLocation
extends Object
implements SdkPojo, Serializable, ToCopyableBuilder<FileLocation.Builder,FileLocation>
Specifies the Amazon S3 or EFS file details to be used in the step.
- See Also:
-
Nested Class Summary
Nested Classes -
Method Summary
Modifier and TypeMethodDescriptionstatic FileLocation.Builderbuilder()final EfsFileLocationSpecifies the Amazon EFS identifier and the path for the file being used.final booleanfinal booleanequalsBySdkFields(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 inthashCode()final S3FileLocationSpecifies the S3 details for the file being used, such as bucket, ETag, and so forth.static Class<? extends FileLocation.Builder> Take this object and create a builder that contains all of the current property values of this object.final StringtoString()Returns a string representation of this object.Methods inherited from interface software.amazon.awssdk.utils.builder.ToCopyableBuilder
copy
-
Method Details
-
s3FileLocation
Specifies the S3 details for the file being used, such as bucket, ETag, and so forth.
- Returns:
- Specifies the S3 details for the file being used, such as bucket, ETag, and so forth.
-
efsFileLocation
Specifies the Amazon EFS identifier and the path for the file being used.
- Returns:
- Specifies the Amazon EFS identifier and the path for the file being used.
-
toBuilder
Description copied from interface:ToCopyableBuilderTake this object and create a builder that contains all of the current property values of this object.- Specified by:
toBuilderin interfaceToCopyableBuilder<FileLocation.Builder,FileLocation> - Returns:
- a builder for type T
-
builder
-
serializableBuilderClass
-
hashCode
-
equals
-
equalsBySdkFields
Description copied from interface:SdkPojoIndicates whether some other object is "equal to" this one by SDK fields. An SDK field is a modeled, non-inherited field in anSdkPojoclass, and is generated based on a service model.If an
SdkPojoclass does not have any inherited fields,equalsBySdkFieldsandequalsare essentially the same.- Specified by:
equalsBySdkFieldsin 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
-
sdkFieldNameToField
- Specified by:
sdkFieldNameToFieldin interfaceSdkPojo- Returns:
- The mapping between the field name and its corresponding field.
-