public static interface Location.Builder extends CopyableBuilder<Location.Builder,Location>
Modifier and Type | Method and Description |
---|---|
Location.Builder |
jdbc(CodeGenNodeArg... jdbc)
A JDBC location.
|
Location.Builder |
jdbc(Collection<CodeGenNodeArg> jdbc)
A JDBC location.
|
Location.Builder |
jdbc(Consumer<CodeGenNodeArg.Builder>... jdbc)
A JDBC location.
|
Location.Builder |
s3(CodeGenNodeArg... s3)
An Amazon S3 location.
|
Location.Builder |
s3(Collection<CodeGenNodeArg> s3)
An Amazon S3 location.
|
Location.Builder |
s3(Consumer<CodeGenNodeArg.Builder>... s3)
An Amazon S3 location.
|
copy
applyMutation, build
Location.Builder jdbc(Collection<CodeGenNodeArg> jdbc)
A JDBC location.
jdbc
- A JDBC location.Location.Builder jdbc(CodeGenNodeArg... jdbc)
A JDBC location.
jdbc
- A JDBC location.Location.Builder jdbc(Consumer<CodeGenNodeArg.Builder>... jdbc)
A JDBC location.
This is a convenience that creates an instance of theList.Builder
avoiding the need
to create one manually via List#builder()
.
When the Consumer
completes, List.Builder#build()
is called immediately and
its result is passed to #jdbc(List)
.jdbc
- a consumer that will call methods on List.Builder
#jdbc(List)
Location.Builder s3(Collection<CodeGenNodeArg> s3)
An Amazon S3 location.
s3
- An Amazon S3 location.Location.Builder s3(CodeGenNodeArg... s3)
An Amazon S3 location.
s3
- An Amazon S3 location.Location.Builder s3(Consumer<CodeGenNodeArg.Builder>... s3)
An Amazon S3 location.
This is a convenience that creates an instance of theList.Builder
avoiding the need
to create one manually via List#builder()
.
When the Consumer
completes, List.Builder#build()
is called immediately and
its result is passed to #s3(List)
.s3
- a consumer that will call methods on List.Builder
#s3(List)
Copyright © 2017 Amazon Web Services, Inc. All Rights Reserved.