Interface ListFoundationModelAgreementOffersResponse.Builder
- All Superinterfaces:
- AwsResponse.Builder,- BedrockResponse.Builder,- Buildable,- CopyableBuilder<ListFoundationModelAgreementOffersResponse.Builder,,- ListFoundationModelAgreementOffersResponse> - SdkBuilder<ListFoundationModelAgreementOffersResponse.Builder,,- ListFoundationModelAgreementOffersResponse> - SdkPojo,- SdkResponse.Builder
- Enclosing class:
- ListFoundationModelAgreementOffersResponse
@Mutable
@NotThreadSafe
public static interface ListFoundationModelAgreementOffersResponse.Builder
extends BedrockResponse.Builder, SdkPojo, CopyableBuilder<ListFoundationModelAgreementOffersResponse.Builder,ListFoundationModelAgreementOffersResponse> 
- 
Method SummaryModifier and TypeMethodDescriptionModel Id of the foundation model.offers(Collection<Offer> offers) List of the offers associated with the specified model.offers(Consumer<Offer.Builder>... offers) List of the offers associated with the specified model.List of the offers associated with the specified model.Methods inherited from interface software.amazon.awssdk.services.bedrock.model.BedrockResponse.Builderbuild, responseMetadata, responseMetadataMethods inherited from interface software.amazon.awssdk.utils.builder.CopyableBuildercopyMethods inherited from interface software.amazon.awssdk.utils.builder.SdkBuilderapplyMutation, buildMethods inherited from interface software.amazon.awssdk.core.SdkPojoequalsBySdkFields, sdkFieldNameToField, sdkFieldsMethods inherited from interface software.amazon.awssdk.core.SdkResponse.BuildersdkHttpResponse, sdkHttpResponse
- 
Method Details- 
modelIdModel Id of the foundation model. - Parameters:
- modelId- Model Id of the foundation model.
- Returns:
- Returns a reference to this object so that method calls can be chained together.
 
- 
offersList of the offers associated with the specified model. - Parameters:
- offers- List of the offers associated with the specified model.
- Returns:
- Returns a reference to this object so that method calls can be chained together.
 
- 
offersList of the offers associated with the specified model. - Parameters:
- offers- List of the offers associated with the specified model.
- Returns:
- Returns a reference to this object so that method calls can be chained together.
 
- 
offersList of the offers associated with the specified model. This is a convenience method that creates an instance of theOffer.Builderavoiding the need to create one manually viaOffer.builder().When the Consumercompletes,SdkBuilder.build()is called immediately and its result is passed tooffers(List<Offer>).- Parameters:
- offers- a consumer that will call methods on- Offer.Builder
- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
 
 
-