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
-
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
GetFoundationModelAvailabilityResponse.Builder modelId(String 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.Builderavoiding the need to create one manually viaAgreementAvailability.builder().When the
Consumercompletes,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:
agreementAvailability(AgreementAvailability)
-
authorizationStatus
GetFoundationModelAvailabilityResponse.Builder authorizationStatus(String 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,AuthorizationStatus
-
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:
AuthorizationStatus,AuthorizationStatus
-
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,EntitlementAvailability
-
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:
EntitlementAvailability,EntitlementAvailability
-
regionAvailability
GetFoundationModelAvailabilityResponse.Builder regionAvailability(String 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,RegionAvailability
-
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:
RegionAvailability,RegionAvailability
-
-