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 yourCreateApplication
request, Managed Service for Apache Flink returns a response with details of the application it created.applicationDetail
(ApplicationDetail applicationDetail) In response to yourCreateApplication
request, 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
copy
Methods inherited from interface software.amazon.awssdk.services.kinesisanalyticsv2.model.KinesisAnalyticsV2Response.Builder
build, responseMetadata, responseMetadata
Methods inherited from interface software.amazon.awssdk.utils.builder.SdkBuilder
applyMutation, build
Methods inherited from interface software.amazon.awssdk.core.SdkPojo
equalsBySdkFields, sdkFields
Methods inherited from interface software.amazon.awssdk.core.SdkResponse.Builder
sdkHttpResponse, sdkHttpResponse
-
Method Details
-
applicationDetail
In response to your
CreateApplication
request, Managed Service for Apache Flink returns a response with details of the application it created.- Parameters:
applicationDetail
- In response to yourCreateApplication
request, 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 theCreateApplication
request, Managed Service for Apache Flink returns a response with details of the application it created.ApplicationDetail.Builder
avoiding the need to create one manually viaApplicationDetail.builder()
.When the
Consumer
completes,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:
-