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
Modifier and TypeMethodDescriptiondefault StaticFileSource.Builders3Options(Consumer<StaticFileS3SourceOptions.Builder> s3Options) The structure that contains the Amazon S3 location to download the static file from.s3Options(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.urlOptions(StaticFileUrlSourceOptions urlOptions) The structure that contains the URL to download the static file from.Methods inherited from interface software.amazon.awssdk.utils.builder.CopyableBuilder
copyMethods inherited from interface software.amazon.awssdk.utils.builder.SdkBuilder
applyMutation, buildMethods inherited from interface software.amazon.awssdk.core.SdkPojo
equalsBySdkFields, sdkFieldNameToField, sdkFields
-
Method Details
-
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:
-
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
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:
-