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 Summary
Modifier 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.Builder
build, responseMetadata, responseMetadataMethods 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, sdkFieldNameToField, sdkFieldsMethods inherited from interface software.amazon.awssdk.core.SdkResponse.Builder
sdkHttpResponse, sdkHttpResponse
-
Method Details
-
modelId
Model 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.
-
offers
List 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.
-
offers
List 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.
-
offers
List 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 onOffer.Builder- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-