Interface OutputSampleFileSource.Builder
-
- All Superinterfaces:
Buildable,CopyableBuilder<OutputSampleFileSource.Builder,OutputSampleFileSource>,SdkBuilder<OutputSampleFileSource.Builder,OutputSampleFileSource>,SdkPojo
- Enclosing class:
- OutputSampleFileSource
public static interface OutputSampleFileSource.Builder extends SdkPojo, CopyableBuilder<OutputSampleFileSource.Builder,OutputSampleFileSource>
-
-
Method Summary
All Methods Instance Methods Abstract Methods Default Methods Modifier and Type Method Description default OutputSampleFileSource.BuilderfileLocation(Consumer<S3Location.Builder> fileLocation)Sets the value of the FileLocation property for this object.OutputSampleFileSource.BuilderfileLocation(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, sdkFields
-
-
-
-
Method Detail
-
fileLocation
OutputSampleFileSource.Builder fileLocation(S3Location 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
default OutputSampleFileSource.Builder fileLocation(Consumer<S3Location.Builder> fileLocation)
Sets the value of the FileLocation property for this object. 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 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:
fileLocation(S3Location)
-
-