Interface FileLocation.Builder
- All Superinterfaces:
Buildable
,CopyableBuilder<FileLocation.Builder,
,FileLocation> SdkBuilder<FileLocation.Builder,
,FileLocation> SdkPojo
- Enclosing class:
FileLocation
public static interface FileLocation.Builder
extends SdkPojo, CopyableBuilder<FileLocation.Builder,FileLocation>
-
Method Summary
Modifier and TypeMethodDescriptiondefault FileLocation.Builder
efsFileLocation
(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.Builder
s3FileLocation
(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
copy
Methods inherited from interface software.amazon.awssdk.utils.builder.SdkBuilder
applyMutation, build
Methods inherited from interface software.amazon.awssdk.core.SdkPojo
equalsBySdkFields, 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.Builder
avoiding the need to create one manually viaS3FileLocation.builder()
.When the
Consumer
completes,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.Builder
avoiding the need to create one manually viaEfsFileLocation.builder()
.When the
Consumer
completes,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:
-