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
Modifier and TypeMethodDescriptionThe unique identifier of the offer in AWS Marketplace.resources(Collection<Resource> resources) The list of resources involved in the agreement.resources(Consumer<Resource.Builder>... resources) The list of resources involved in the agreement.The list of resources involved in the agreement.Methods inherited from interface software.amazon.awssdk.utils.builder.CopyableBuilder
copyMethods inherited from interface software.amazon.awssdk.utils.builder.SdkBuilder
applyMutation, buildMethods inherited from interface software.amazon.awssdk.core.SdkPojo
equalsBySdkFields, sdkFields
-
Method Details
-
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
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
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
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 toresources(List<Resource>).- 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:
-