Interface CodeContent.Builder
- All Superinterfaces:
Buildable,CopyableBuilder<CodeContent.Builder,,CodeContent> SdkBuilder<CodeContent.Builder,,CodeContent> SdkPojo
- Enclosing class:
CodeContent
public static interface CodeContent.Builder
extends SdkPojo, CopyableBuilder<CodeContent.Builder,CodeContent>
-
Method Summary
Modifier and TypeMethodDescriptiondefault CodeContent.Builders3ContentLocation(Consumer<S3ContentLocation.Builder> s3ContentLocation) Information about the Amazon S3 bucket that contains the application code.s3ContentLocation(S3ContentLocation s3ContentLocation) Information about the Amazon S3 bucket that contains the application code.textContent(String textContent) The text-format code for a Managed Service for Apache Flink application.zipFileContent(SdkBytes zipFileContent) The zip-format code for a Managed Service for Apache Flink application.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, sdkFields
-
Method Details
-
textContent
The text-format code for a Managed Service for Apache Flink application.
- Parameters:
textContent- The text-format code for a Managed Service for Apache Flink application.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
zipFileContent
The zip-format code for a Managed Service for Apache Flink application.
- Parameters:
zipFileContent- The zip-format code for a Managed Service for Apache Flink application.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
s3ContentLocation
Information about the Amazon S3 bucket that contains the application code.
- Parameters:
s3ContentLocation- Information about the Amazon S3 bucket that contains the application code.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
s3ContentLocation
default CodeContent.Builder s3ContentLocation(Consumer<S3ContentLocation.Builder> s3ContentLocation) Information about the Amazon S3 bucket that contains the application code.
This is a convenience method that creates an instance of theS3ContentLocation.Builderavoiding the need to create one manually viaS3ContentLocation.builder().When the
Consumercompletes,SdkBuilder.build()is called immediately and its result is passed tos3ContentLocation(S3ContentLocation).- Parameters:
s3ContentLocation- a consumer that will call methods onS3ContentLocation.Builder- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-