Interface GetFoundationModelAvailabilityResponse.Builder
- All Superinterfaces:
AwsResponse.Builder
,BedrockResponse.Builder
,Buildable
,CopyableBuilder<GetFoundationModelAvailabilityResponse.Builder,
,GetFoundationModelAvailabilityResponse> SdkBuilder<GetFoundationModelAvailabilityResponse.Builder,
,GetFoundationModelAvailabilityResponse> SdkPojo
,SdkResponse.Builder
- Enclosing class:
GetFoundationModelAvailabilityResponse
@Mutable
@NotThreadSafe
public static interface GetFoundationModelAvailabilityResponse.Builder
extends BedrockResponse.Builder, SdkPojo, CopyableBuilder<GetFoundationModelAvailabilityResponse.Builder,GetFoundationModelAvailabilityResponse>
-
Method Summary
Modifier and TypeMethodDescriptionagreementAvailability
(Consumer<AgreementAvailability.Builder> agreementAvailability) Agreement availability.agreementAvailability
(AgreementAvailability agreementAvailability) Agreement availability.authorizationStatus
(String authorizationStatus) Authorization status.authorizationStatus
(AuthorizationStatus authorizationStatus) Authorization status.entitlementAvailability
(String entitlementAvailability) Entitlement availability.entitlementAvailability
(EntitlementAvailability entitlementAvailability) Entitlement availability.The model Id of the foundation model.regionAvailability
(String regionAvailability) Region availability.regionAvailability
(RegionAvailability regionAvailability) Region availability.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 Details
-
modelId
The model Id of the foundation model.
- Parameters:
modelId
- The model Id of the foundation model.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
agreementAvailability
GetFoundationModelAvailabilityResponse.Builder agreementAvailability(AgreementAvailability agreementAvailability) Agreement availability.
- Parameters:
agreementAvailability
- Agreement availability.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
agreementAvailability
default GetFoundationModelAvailabilityResponse.Builder agreementAvailability(Consumer<AgreementAvailability.Builder> agreementAvailability) Agreement availability.
This is a convenience method that creates an instance of theAgreementAvailability.Builder
avoiding the need to create one manually viaAgreementAvailability.builder()
.When the
Consumer
completes,SdkBuilder.build()
is called immediately and its result is passed toagreementAvailability(AgreementAvailability)
.- Parameters:
agreementAvailability
- a consumer that will call methods onAgreementAvailability.Builder
- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-
authorizationStatus
Authorization status.
- Parameters:
authorizationStatus
- Authorization status.- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-
authorizationStatus
GetFoundationModelAvailabilityResponse.Builder authorizationStatus(AuthorizationStatus authorizationStatus) Authorization status.
- Parameters:
authorizationStatus
- Authorization status.- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-
entitlementAvailability
GetFoundationModelAvailabilityResponse.Builder entitlementAvailability(String entitlementAvailability) Entitlement availability.
- Parameters:
entitlementAvailability
- Entitlement availability.- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-
entitlementAvailability
GetFoundationModelAvailabilityResponse.Builder entitlementAvailability(EntitlementAvailability entitlementAvailability) Entitlement availability.
- Parameters:
entitlementAvailability
- Entitlement availability.- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-
regionAvailability
Region availability.
- Parameters:
regionAvailability
- Region availability.- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-
regionAvailability
GetFoundationModelAvailabilityResponse.Builder regionAvailability(RegionAvailability regionAvailability) Region availability.
- Parameters:
regionAvailability
- Region availability.- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-