Interface CodeSource.Builder
- All Superinterfaces:
Buildable
,CopyableBuilder<CodeSource.Builder,
,CodeSource> SdkBuilder<CodeSource.Builder,
,CodeSource> SdkPojo
- Enclosing class:
CodeSource
public static interface CodeSource.Builder
extends SdkPojo, CopyableBuilder<CodeSource.Builder,CodeSource>
-
Method Summary
Modifier and TypeMethodDescriptiondefault CodeSource.Builder
s3
(Consumer<S3Location.Builder> s3) Information about the Amazon S3 location where the source code files provided with the project request are stored.s3
(S3Location s3) Information about the Amazon S3 location where the source code files provided with the project request are stored.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 Details
-
s3
Information about the Amazon S3 location where the source code files provided with the project request are stored.
- Parameters:
s3
- Information about the Amazon S3 location where the source code files provided with the project request are stored.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
s3
Information about the Amazon S3 location where the source code files provided with the project request are stored.
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 tos3(S3Location)
.- Parameters:
s3
- 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:
-