Interface ProposalSummary.Builder
-
- All Superinterfaces:
Buildable,CopyableBuilder<ProposalSummary.Builder,ProposalSummary>,SdkBuilder<ProposalSummary.Builder,ProposalSummary>,SdkPojo
- Enclosing class:
- ProposalSummary
public static interface ProposalSummary.Builder extends SdkPojo, CopyableBuilder<ProposalSummary.Builder,ProposalSummary>
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description ProposalSummary.BuilderofferId(String offerId)The unique identifier of the offer in AWS Marketplace.ProposalSummary.Builderresources(Collection<Resource> resources)The list of resources involved in the agreement.ProposalSummary.Builderresources(Consumer<Resource.Builder>... resources)The list of resources involved in the agreement.ProposalSummary.Builderresources(Resource... resources)The list of resources involved in the agreement.-
Methods inherited from interface software.amazon.awssdk.utils.builder.CopyableBuilder
copy
-
Methods inherited from interface software.amazon.awssdk.utils.builder.SdkBuilder
applyMutation, build
-
Methods inherited from interface software.amazon.awssdk.core.SdkPojo
equalsBySdkFields, sdkFields
-
-
-
-
Method Detail
-
offerId
ProposalSummary.Builder offerId(String offerId)
The unique identifier of the offer in AWS Marketplace.
- Parameters:
offerId- The unique identifier of the offer in AWS Marketplace.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
resources
ProposalSummary.Builder resources(Collection<Resource> resources)
The list of resources involved in the agreement.
- Parameters:
resources- The list of resources involved in the agreement.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
resources
ProposalSummary.Builder resources(Resource... resources)
The list of resources involved in the agreement.
- Parameters:
resources- The list of resources involved in the agreement.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
resources
ProposalSummary.Builder resources(Consumer<Resource.Builder>... resources)
The list of resources involved in the agreement.
This is a convenience method that creates an instance of theResource.Builderavoiding the need to create one manually viaResource.builder().When the
Consumercompletes,SdkBuilder.build()is called immediately and its result is passed to#resources(List.) - Parameters:
resources- a consumer that will call methods onResource.Builder- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
#resources(java.util.Collection)
-
-