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.BuilderapplicationResponse(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
copyMethods inherited from interface software.amazon.awssdk.services.pinpoint.model.PinpointResponse.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
-
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.Builderavoiding the need to create one manually viaApplicationResponse.builder().When the
Consumercompletes,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:
-