public static interface GetCampaignResponse.Builder extends PinpointResponse.Builder, CopyableBuilder<GetCampaignResponse.Builder,GetCampaignResponse>
Modifier and Type | Method and Description |
---|---|
GetCampaignResponse.Builder |
campaignResponse(CampaignResponse campaignResponse)
Sets the value of the CampaignResponse property for this object.
|
default GetCampaignResponse.Builder |
campaignResponse(Consumer<CampaignResponse.Builder> campaignResponse)
Sets the value of the CampaignResponse property for this object.
|
build
copy
apply, build
GetCampaignResponse.Builder campaignResponse(CampaignResponse campaignResponse)
campaignResponse
- The new value for the CampaignResponse property for this object.default GetCampaignResponse.Builder campaignResponse(Consumer<CampaignResponse.Builder> campaignResponse)
CampaignResponse.Builder
avoiding the need to
create one manually via CampaignResponse.builder()
.
When the Consumer
completes, SdkBuilder.build()
is called immediately and its
result is passed to campaignResponse(CampaignResponse)
.campaignResponse
- a consumer that will call methods on CampaignResponse.Builder
campaignResponse(CampaignResponse)
Copyright © 2017 Amazon Web Services, Inc. All Rights Reserved.