Interface DescribeCampaignResponse.Builder
- All Superinterfaces:
AwsResponse.Builder,Buildable,CopyableBuilder<DescribeCampaignResponse.Builder,,DescribeCampaignResponse> PersonalizeResponse.Builder,SdkBuilder<DescribeCampaignResponse.Builder,,DescribeCampaignResponse> SdkPojo,SdkResponse.Builder
- Enclosing class:
DescribeCampaignResponse
-
Method Summary
Modifier and TypeMethodDescriptiondefault DescribeCampaignResponse.Buildercampaign(Consumer<Campaign.Builder> campaign) Methods inherited from interface software.amazon.awssdk.utils.builder.CopyableBuilder
copyMethods inherited from interface software.amazon.awssdk.services.personalize.model.PersonalizeResponse.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
-
campaign
The
latestCampaignUpdatefield is only returned when the campaign has had at least oneUpdateCampaigncall.The properties of the campaign.
The
latestCampaignUpdatefield is only returned when the campaign has had at least oneUpdateCampaigncall.- Parameters:
campaign-The
latestCampaignUpdatefield is only returned when the campaign has had at least oneUpdateCampaigncall.The properties of the campaign.
The
latestCampaignUpdatefield is only returned when the campaign has had at least oneUpdateCampaigncall.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
campaign
The
latestCampaignUpdatefield is only returned when the campaign has had at least oneUpdateCampaigncall.The properties of the campaign.
This is a convenience method that creates an instance of theThe
latestCampaignUpdatefield is only returned when the campaign has had at least oneUpdateCampaigncall.Campaign.Builderavoiding the need to create one manually viaCampaign.builder().When the
Consumercompletes,SdkBuilder.build()is called immediately and its result is passed tocampaign(Campaign).- Parameters:
campaign- a consumer that will call methods onCampaign.Builder- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-