Interface GetPushTemplateResponse.Builder
- All Superinterfaces:
AwsResponse.Builder,Buildable,CopyableBuilder<GetPushTemplateResponse.Builder,,GetPushTemplateResponse> PinpointResponse.Builder,SdkBuilder<GetPushTemplateResponse.Builder,,GetPushTemplateResponse> SdkPojo,SdkResponse.Builder
- Enclosing class:
GetPushTemplateResponse
public static interface GetPushTemplateResponse.Builder
extends PinpointResponse.Builder, SdkPojo, CopyableBuilder<GetPushTemplateResponse.Builder,GetPushTemplateResponse>
-
Method Summary
Modifier and TypeMethodDescriptiondefault GetPushTemplateResponse.BuilderpushNotificationTemplateResponse(Consumer<PushNotificationTemplateResponse.Builder> pushNotificationTemplateResponse) Sets the value of the PushNotificationTemplateResponse property for this object.pushNotificationTemplateResponse(PushNotificationTemplateResponse pushNotificationTemplateResponse) Sets the value of the PushNotificationTemplateResponse 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, sdkFieldsMethods inherited from interface software.amazon.awssdk.core.SdkResponse.Builder
sdkHttpResponse, sdkHttpResponse
-
Method Details
-
pushNotificationTemplateResponse
GetPushTemplateResponse.Builder pushNotificationTemplateResponse(PushNotificationTemplateResponse pushNotificationTemplateResponse) Sets the value of the PushNotificationTemplateResponse property for this object.- Parameters:
pushNotificationTemplateResponse- The new value for the PushNotificationTemplateResponse property for this object.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
pushNotificationTemplateResponse
default GetPushTemplateResponse.Builder pushNotificationTemplateResponse(Consumer<PushNotificationTemplateResponse.Builder> pushNotificationTemplateResponse) Sets the value of the PushNotificationTemplateResponse property for this object. This is a convenience method that creates an instance of thePushNotificationTemplateResponse.Builderavoiding the need to create one manually viaPushNotificationTemplateResponse.builder().When the
Consumercompletes,SdkBuilder.build()is called immediately and its result is passed topushNotificationTemplateResponse(PushNotificationTemplateResponse).- Parameters:
pushNotificationTemplateResponse- a consumer that will call methods onPushNotificationTemplateResponse.Builder- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-