Interface StreamFile.Builder
-
- All Superinterfaces:
Buildable,CopyableBuilder<StreamFile.Builder,StreamFile>,SdkBuilder<StreamFile.Builder,StreamFile>,SdkPojo
- Enclosing class:
- StreamFile
public static interface StreamFile.Builder extends SdkPojo, CopyableBuilder<StreamFile.Builder,StreamFile>
-
-
Method Summary
All Methods Instance Methods Abstract Methods Default Methods Modifier and Type Method Description StreamFile.BuilderfileId(Integer fileId)The file ID.default StreamFile.Builders3Location(Consumer<S3Location.Builder> s3Location)The location of the file in S3.StreamFile.Builders3Location(S3Location s3Location)The location of the file in S3.-
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 Detail
-
fileId
StreamFile.Builder fileId(Integer fileId)
The file ID.
- Parameters:
fileId- The file ID.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
s3Location
StreamFile.Builder s3Location(S3Location s3Location)
The location of the file in S3.
- Parameters:
s3Location- The location of the file in S3.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
s3Location
default StreamFile.Builder s3Location(Consumer<S3Location.Builder> s3Location)
The location of the file in S3.
This is a convenience method that creates an instance of theS3Location.Builderavoiding the need to create one manually viaS3Location.builder().When the
Consumercompletes,SdkBuilder.build()is called immediately and its result is passed tos3Location(S3Location).- Parameters:
s3Location- a consumer that will call methods onS3Location.Builder- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
s3Location(S3Location)
-
-