Interface Code.Builder
- All Superinterfaces:
Buildable,CopyableBuilder<Code.Builder,,Code> SdkBuilder<Code.Builder,,Code> SdkPojo
- Enclosing class:
Code
@Mutable
@NotThreadSafe
public static interface Code.Builder
extends SdkPojo, CopyableBuilder<Code.Builder,Code>
-
Method Summary
Modifier and TypeMethodDescriptiondefault Code.Builders3(Consumer<S3Location.Builder> s3) The Amazon Amazon S3 object that contains the source code for the agent runtime.s3(S3Location s3) The Amazon Amazon S3 object that contains the source code for the agent runtime.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
-
s3
The Amazon Amazon S3 object that contains the source code for the agent runtime.
- Parameters:
s3- The Amazon Amazon S3 object that contains the source code for the agent runtime.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
s3
The Amazon Amazon S3 object that contains the source code for the agent runtime.
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 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:
-