Interface CodeContentDescription.Builder
-
- All Superinterfaces:
Buildable,CopyableBuilder<CodeContentDescription.Builder,CodeContentDescription>,SdkBuilder<CodeContentDescription.Builder,CodeContentDescription>,SdkPojo
- Enclosing class:
- CodeContentDescription
public static interface CodeContentDescription.Builder extends SdkPojo, CopyableBuilder<CodeContentDescription.Builder,CodeContentDescription>
-
-
Method Summary
All Methods Instance Methods Abstract Methods Default Methods Modifier and Type Method Description CodeContentDescription.BuildercodeMD5(String codeMD5)The checksum that can be used to validate zip-format code.CodeContentDescription.BuildercodeSize(Long codeSize)The size in bytes of the application code.default CodeContentDescription.Builders3ApplicationCodeLocationDescription(Consumer<S3ApplicationCodeLocationDescription.Builder> s3ApplicationCodeLocationDescription)The S3 bucket Amazon Resource Name (ARN), file key, and object version of the application code stored in Amazon S3.CodeContentDescription.Builders3ApplicationCodeLocationDescription(S3ApplicationCodeLocationDescription s3ApplicationCodeLocationDescription)The S3 bucket Amazon Resource Name (ARN), file key, and object version of the application code stored in Amazon S3.CodeContentDescription.BuildertextContent(String textContent)The text-format code-
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 Detail
-
textContent
CodeContentDescription.Builder textContent(String 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
CodeContentDescription.Builder codeMD5(String 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
CodeContentDescription.Builder codeSize(Long 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.Builderavoiding the need to create one manually viaS3ApplicationCodeLocationDescription.builder().When the
Consumercompletes,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:
s3ApplicationCodeLocationDescription(S3ApplicationCodeLocationDescription)
-
-