Interface OutputSampleFileSource.Builder
- All Superinterfaces:
Buildable
,CopyableBuilder<OutputSampleFileSource.Builder,
,OutputSampleFileSource> SdkBuilder<OutputSampleFileSource.Builder,
,OutputSampleFileSource> SdkPojo
- Enclosing class:
OutputSampleFileSource
@Mutable
@NotThreadSafe
public static interface OutputSampleFileSource.Builder
extends SdkPojo, CopyableBuilder<OutputSampleFileSource.Builder,OutputSampleFileSource>
-
Method Summary
Modifier and TypeMethodDescriptiondefault OutputSampleFileSource.Builder
fileLocation
(Consumer<S3Location.Builder> fileLocation) Sets the value of the FileLocation property for this object.fileLocation
(S3Location fileLocation) Sets the value of the FileLocation property for this object.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 Details
-
fileLocation
Sets the value of the FileLocation property for this object.- Parameters:
fileLocation
- The new value for the FileLocation property for this object.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
fileLocation
Sets the value of the FileLocation property for this object. This is a convenience method that creates an instance of theS3Location.Builder
avoiding the need to create one manually viaS3Location.builder()
.When the
Consumer
completes,SdkBuilder.build()
is called immediately and its result is passed tofileLocation(S3Location)
.- Parameters:
fileLocation
- 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:
-