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
All Methods Instance Methods Abstract Methods Default Methods Modifier and Type Method Description default CodeContent.Builders3ContentLocation(Consumer<S3ContentLocation.Builder> s3ContentLocation)Information about the Amazon S3 bucket that contains the application code.CodeContent.Builders3ContentLocation(S3ContentLocation s3ContentLocation)Information about the Amazon S3 bucket that contains the application code.CodeContent.BuildertextContent(String textContent)The text-format code for a Managed Service for Apache Flink application.CodeContent.BuilderzipFileContent(SdkBytes zipFileContent)The zip-format code for a Managed Service for Apache Flink application.-
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
CodeContent.Builder textContent(String 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
CodeContent.Builder zipFileContent(SdkBytes 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
CodeContent.Builder s3ContentLocation(S3ContentLocation 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:
s3ContentLocation(S3ContentLocation)
-
-