Interface CodeContentDescription.Builder
- All Superinterfaces:
Buildable
,CopyableBuilder<CodeContentDescription.Builder,
,CodeContentDescription> SdkBuilder<CodeContentDescription.Builder,
,CodeContentDescription> SdkPojo
- Enclosing class:
CodeContentDescription
@Mutable
@NotThreadSafe
public static interface CodeContentDescription.Builder
extends SdkPojo, CopyableBuilder<CodeContentDescription.Builder,CodeContentDescription>
-
Method Summary
Modifier and TypeMethodDescriptionThe checksum that can be used to validate zip-format code.The size in bytes of the application code.default CodeContentDescription.Builder
s3ApplicationCodeLocationDescription
(Consumer<S3ApplicationCodeLocationDescription.Builder> s3ApplicationCodeLocationDescription) The S3 bucket Amazon Resource Name (ARN), file key, and object version of the application code stored in Amazon S3.s3ApplicationCodeLocationDescription
(S3ApplicationCodeLocationDescription s3ApplicationCodeLocationDescription) The S3 bucket Amazon Resource Name (ARN), file key, and object version of the application code stored in Amazon S3.textContent
(String textContent) The text-format codeMethods 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 Details
-
textContent
The text-format code
- Parameters:
textContent
- The text-format code- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
codeMD5
The checksum that can be used to validate zip-format code.
- Parameters:
codeMD5
- The checksum that can be used to validate zip-format code.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
codeSize
The size in bytes of the application code. Can be used to validate zip-format code.
- Parameters:
codeSize
- The size in bytes of the application code. Can be used to validate zip-format code.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
s3ApplicationCodeLocationDescription
CodeContentDescription.Builder s3ApplicationCodeLocationDescription(S3ApplicationCodeLocationDescription s3ApplicationCodeLocationDescription) The S3 bucket Amazon Resource Name (ARN), file key, and object version of the application code stored in Amazon S3.
- Parameters:
s3ApplicationCodeLocationDescription
- The S3 bucket Amazon Resource Name (ARN), file key, and object version of the application code stored in Amazon S3.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
s3ApplicationCodeLocationDescription
default CodeContentDescription.Builder s3ApplicationCodeLocationDescription(Consumer<S3ApplicationCodeLocationDescription.Builder> s3ApplicationCodeLocationDescription) The S3 bucket Amazon Resource Name (ARN), file key, and object version of the application code stored in Amazon S3.
This is a convenience method that creates an instance of theS3ApplicationCodeLocationDescription.Builder
avoiding the need to create one manually viaS3ApplicationCodeLocationDescription.builder()
.When the
Consumer
completes,SdkBuilder.build()
is called immediately and its result is passed tos3ApplicationCodeLocationDescription(S3ApplicationCodeLocationDescription)
.- Parameters:
s3ApplicationCodeLocationDescription
- a consumer that will call methods onS3ApplicationCodeLocationDescription.Builder
- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-