Interface FileLocation.Builder
- All Superinterfaces:
Buildable,CopyableBuilder<FileLocation.Builder,,FileLocation> SdkBuilder<FileLocation.Builder,,FileLocation> SdkPojo
- Enclosing class:
FileLocation
@Mutable
@NotThreadSafe
public static interface FileLocation.Builder
extends SdkPojo, CopyableBuilder<FileLocation.Builder,FileLocation>
-
Method Summary
Modifier and TypeMethodDescriptiondefault FileLocation.BuilderefsFileLocation(Consumer<EfsFileLocation.Builder> efsFileLocation) Specifies the Amazon EFS identifier and the path for the file being used.efsFileLocation(EfsFileLocation efsFileLocation) Specifies the Amazon EFS identifier and the path for the file being used.default FileLocation.Builders3FileLocation(Consumer<S3FileLocation.Builder> s3FileLocation) Specifies the S3 details for the file being used, such as bucket, ETag, and so forth.s3FileLocation(S3FileLocation s3FileLocation) Specifies the S3 details for the file being used, such as bucket, ETag, and so forth.Methods inherited from interface software.amazon.awssdk.utils.builder.CopyableBuilder
copyMethods inherited from interface software.amazon.awssdk.utils.builder.SdkBuilder
applyMutation, buildMethods inherited from interface software.amazon.awssdk.core.SdkPojo
equalsBySdkFields, sdkFieldNameToField, sdkFields
-
Method Details
-
s3FileLocation
Specifies the S3 details for the file being used, such as bucket, ETag, and so forth.
- Parameters:
s3FileLocation- Specifies the S3 details for the file being used, such as bucket, ETag, and so forth.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
s3FileLocation
Specifies the S3 details for the file being used, such as bucket, ETag, and so forth.
This is a convenience method that creates an instance of theS3FileLocation.Builderavoiding the need to create one manually viaS3FileLocation.builder().When the
Consumercompletes,SdkBuilder.build()is called immediately and its result is passed tos3FileLocation(S3FileLocation).- Parameters:
s3FileLocation- a consumer that will call methods onS3FileLocation.Builder- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-
efsFileLocation
Specifies the Amazon EFS identifier and the path for the file being used.
- Parameters:
efsFileLocation- Specifies the Amazon EFS identifier and the path for the file being used.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
efsFileLocation
Specifies the Amazon EFS identifier and the path for the file being used.
This is a convenience method that creates an instance of theEfsFileLocation.Builderavoiding the need to create one manually viaEfsFileLocation.builder().When the
Consumercompletes,SdkBuilder.build()is called immediately and its result is passed toefsFileLocation(EfsFileLocation).- Parameters:
efsFileLocation- a consumer that will call methods onEfsFileLocation.Builder- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-