Interface CreateApplicationResponse.Builder
- All Superinterfaces:
AwsResponse.Builder,Buildable,CopyableBuilder<CreateApplicationResponse.Builder,,CreateApplicationResponse> KinesisAnalyticsV2Response.Builder,SdkBuilder<CreateApplicationResponse.Builder,,CreateApplicationResponse> SdkPojo,SdkResponse.Builder
- Enclosing class:
CreateApplicationResponse
public static interface CreateApplicationResponse.Builder
extends KinesisAnalyticsV2Response.Builder, SdkPojo, CopyableBuilder<CreateApplicationResponse.Builder,CreateApplicationResponse>
-
Method Summary
Modifier and TypeMethodDescriptionapplicationDetail(Consumer<ApplicationDetail.Builder> applicationDetail) In response to yourCreateApplicationrequest, Managed Service for Apache Flink returns a response with details of the application it created.applicationDetail(ApplicationDetail applicationDetail) In response to yourCreateApplicationrequest, Managed Service for Apache Flink returns a response with details of the application it created.Methods inherited from interface software.amazon.awssdk.utils.builder.CopyableBuilder
copyMethods inherited from interface software.amazon.awssdk.services.kinesisanalyticsv2.model.KinesisAnalyticsV2Response.Builder
build, responseMetadata, responseMetadataMethods inherited from interface software.amazon.awssdk.utils.builder.SdkBuilder
applyMutation, buildMethods inherited from interface software.amazon.awssdk.core.SdkPojo
equalsBySdkFields, sdkFieldNameToField, sdkFieldsMethods inherited from interface software.amazon.awssdk.core.SdkResponse.Builder
sdkHttpResponse, sdkHttpResponse
-
Method Details
-
applicationDetail
In response to your
CreateApplicationrequest, Managed Service for Apache Flink returns a response with details of the application it created.- Parameters:
applicationDetail- In response to yourCreateApplicationrequest, Managed Service for Apache Flink returns a response with details of the application it created.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
applicationDetail
default CreateApplicationResponse.Builder applicationDetail(Consumer<ApplicationDetail.Builder> applicationDetail) In response to your
This is a convenience method that creates an instance of theCreateApplicationrequest, Managed Service for Apache Flink returns a response with details of the application it created.ApplicationDetail.Builderavoiding the need to create one manually viaApplicationDetail.builder().When the
Consumercompletes,SdkBuilder.build()is called immediately and its result is passed toapplicationDetail(ApplicationDetail).- Parameters:
applicationDetail- a consumer that will call methods onApplicationDetail.Builder- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-