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.Builders3Location(Consumer<S3Location.Builder> s3Location)The location of the updated firmware in S3.FileLocation.Builders3Location(S3Location s3Location)The location of the updated firmware in S3.default FileLocation.Builderstream(Consumer<Stream.Builder> stream)The stream that contains the OTA update.FileLocation.Builderstream(Stream stream)The stream that contains the OTA update.-
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
-
stream
FileLocation.Builder stream(Stream stream)
The stream that contains the OTA update.
- Parameters:
stream- The stream that contains the OTA update.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
stream
default FileLocation.Builder stream(Consumer<Stream.Builder> stream)
The stream that contains the OTA update.
This is a convenience method that creates an instance of theStream.Builderavoiding the need to create one manually viaStream.builder().When the
Consumercompletes,SdkBuilder.build()is called immediately and its result is passed tostream(Stream).- Parameters:
stream- a consumer that will call methods onStream.Builder- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
stream(Stream)
-
s3Location
FileLocation.Builder s3Location(S3Location s3Location)
The location of the updated firmware in S3.
- Parameters:
s3Location- The location of the updated firmware in S3.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
s3Location
default FileLocation.Builder s3Location(Consumer<S3Location.Builder> s3Location)
The location of the updated firmware 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)
-
-