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
All Methods Instance Methods Abstract Methods Default Methods Modifier and Type Method Description default FileLocation.BuilderefsFileLocation(Consumer<EfsFileLocation.Builder> efsFileLocation)Specifies the Amazon EFS identifier and the path for the file being used.FileLocation.BuilderefsFileLocation(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.FileLocation.Builders3FileLocation(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, sdkFieldNameToField, sdkFields
-
-
-
-
Method Detail
-
s3FileLocation
FileLocation.Builder s3FileLocation(S3FileLocation 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
default FileLocation.Builder s3FileLocation(Consumer<S3FileLocation.Builder> 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:
s3FileLocation(S3FileLocation)
-
efsFileLocation
FileLocation.Builder efsFileLocation(EfsFileLocation 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
default FileLocation.Builder efsFileLocation(Consumer<EfsFileLocation.Builder> 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:
efsFileLocation(EfsFileLocation)
-
-