Interface StaticFileSource.Builder
-
- All Superinterfaces:
Buildable,CopyableBuilder<StaticFileSource.Builder,StaticFileSource>,SdkBuilder<StaticFileSource.Builder,StaticFileSource>,SdkPojo
- Enclosing class:
- StaticFileSource
@Mutable @NotThreadSafe public static interface StaticFileSource.Builder extends SdkPojo, CopyableBuilder<StaticFileSource.Builder,StaticFileSource>
-
-
Method Summary
All Methods Instance Methods Abstract Methods Default Methods Modifier and Type Method Description default StaticFileSource.Builders3Options(Consumer<StaticFileS3SourceOptions.Builder> s3Options)The structure that contains the Amazon S3 location to download the static file from.StaticFileSource.Builders3Options(StaticFileS3SourceOptions s3Options)The structure that contains the Amazon S3 location to download the static file from.default StaticFileSource.BuilderurlOptions(Consumer<StaticFileUrlSourceOptions.Builder> urlOptions)The structure that contains the URL to download the static file from.StaticFileSource.BuilderurlOptions(StaticFileUrlSourceOptions urlOptions)The structure that contains the URL to download the static file from.-
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
-
urlOptions
StaticFileSource.Builder urlOptions(StaticFileUrlSourceOptions urlOptions)
The structure that contains the URL to download the static file from.
- Parameters:
urlOptions- The structure that contains the URL to download the static file from.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
urlOptions
default StaticFileSource.Builder urlOptions(Consumer<StaticFileUrlSourceOptions.Builder> urlOptions)
The structure that contains the URL to download the static file from.
This is a convenience method that creates an instance of theStaticFileUrlSourceOptions.Builderavoiding the need to create one manually viaStaticFileUrlSourceOptions.builder().When the
Consumercompletes,SdkBuilder.build()is called immediately and its result is passed tourlOptions(StaticFileUrlSourceOptions).- Parameters:
urlOptions- a consumer that will call methods onStaticFileUrlSourceOptions.Builder- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
urlOptions(StaticFileUrlSourceOptions)
-
s3Options
StaticFileSource.Builder s3Options(StaticFileS3SourceOptions s3Options)
The structure that contains the Amazon S3 location to download the static file from.
- Parameters:
s3Options- The structure that contains the Amazon S3 location to download the static file from.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
s3Options
default StaticFileSource.Builder s3Options(Consumer<StaticFileS3SourceOptions.Builder> s3Options)
The structure that contains the Amazon S3 location to download the static file from.
This is a convenience method that creates an instance of theStaticFileS3SourceOptions.Builderavoiding the need to create one manually viaStaticFileS3SourceOptions.builder().When the
Consumercompletes,SdkBuilder.build()is called immediately and its result is passed tos3Options(StaticFileS3SourceOptions).- Parameters:
s3Options- a consumer that will call methods onStaticFileS3SourceOptions.Builder- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
s3Options(StaticFileS3SourceOptions)
-
-