Interface GetAppResponse.Builder
- All Superinterfaces:
AwsResponse.Builder
,Buildable
,CopyableBuilder<GetAppResponse.Builder,
,GetAppResponse> PinpointResponse.Builder
,SdkBuilder<GetAppResponse.Builder,
,GetAppResponse> SdkPojo
,SdkResponse.Builder
- Enclosing class:
GetAppResponse
public static interface GetAppResponse.Builder
extends PinpointResponse.Builder, SdkPojo, CopyableBuilder<GetAppResponse.Builder,GetAppResponse>
-
Method Summary
Modifier and TypeMethodDescriptiondefault GetAppResponse.Builder
applicationResponse
(Consumer<ApplicationResponse.Builder> applicationResponse) Sets the value of the ApplicationResponse property for this object.applicationResponse
(ApplicationResponse applicationResponse) Sets the value of the ApplicationResponse property for this object.Methods inherited from interface software.amazon.awssdk.utils.builder.CopyableBuilder
copy
Methods inherited from interface software.amazon.awssdk.services.pinpoint.model.PinpointResponse.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
-
applicationResponse
Sets the value of the ApplicationResponse property for this object.- Parameters:
applicationResponse
- The new value for the ApplicationResponse property for this object.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
applicationResponse
default GetAppResponse.Builder applicationResponse(Consumer<ApplicationResponse.Builder> applicationResponse) Sets the value of the ApplicationResponse property for this object. This is a convenience method that creates an instance of theApplicationResponse.Builder
avoiding the need to create one manually viaApplicationResponse.builder()
.When the
Consumer
completes,SdkBuilder.build()
is called immediately and its result is passed toapplicationResponse(ApplicationResponse)
.- Parameters:
applicationResponse
- a consumer that will call methods onApplicationResponse.Builder
- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-