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
All Methods Instance Methods Abstract Methods Modifier and Type Method Description ListFoundationModelAgreementOffersResponse.BuildermodelId(String modelId)Model Id of the foundation model.ListFoundationModelAgreementOffersResponse.Builderoffers(Collection<Offer> offers)List of the offers associated with the specified model.ListFoundationModelAgreementOffersResponse.Builderoffers(Consumer<Offer.Builder>... offers)List of the offers associated with the specified model.ListFoundationModelAgreementOffersResponse.Builderoffers(Offer... offers)List of the offers associated with the specified model.-
Methods inherited from interface software.amazon.awssdk.services.bedrock.model.BedrockResponse.Builder
build, responseMetadata, responseMetadata
-
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, sdkFieldNameToField, sdkFields
-
Methods inherited from interface software.amazon.awssdk.core.SdkResponse.Builder
sdkHttpResponse, sdkHttpResponse
-
-
-
-
Method Detail
-
modelId
ListFoundationModelAgreementOffersResponse.Builder modelId(String 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
ListFoundationModelAgreementOffersResponse.Builder offers(Collection<Offer> 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
ListFoundationModelAgreementOffersResponse.Builder offers(Offer... 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
ListFoundationModelAgreementOffersResponse.Builder offers(Consumer<Offer.Builder>... 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 to#offers(List.) - 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:
#offers(java.util.Collection)
-
-