Class GetProvisionedModelThroughputResponse
- java.lang.Object
-
- software.amazon.awssdk.core.SdkResponse
-
- software.amazon.awssdk.awscore.AwsResponse
-
- software.amazon.awssdk.services.bedrock.model.BedrockResponse
-
- software.amazon.awssdk.services.bedrock.model.GetProvisionedModelThroughputResponse
-
- All Implemented Interfaces:
SdkPojo,ToCopyableBuilder<GetProvisionedModelThroughputResponse.Builder,GetProvisionedModelThroughputResponse>
@Generated("software.amazon.awssdk:codegen") public final class GetProvisionedModelThroughputResponse extends BedrockResponse implements ToCopyableBuilder<GetProvisionedModelThroughputResponse.Builder,GetProvisionedModelThroughputResponse>
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static interfaceGetProvisionedModelThroughputResponse.Builder
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description static GetProvisionedModelThroughputResponse.Builderbuilder()CommitmentDurationcommitmentDuration()Commitment duration of the Provisioned Throughput.StringcommitmentDurationAsString()Commitment duration of the Provisioned Throughput.InstantcommitmentExpirationTime()The timestamp for when the commitment term for the Provisioned Throughput expires.InstantcreationTime()The timestamp of the creation time for this Provisioned Throughput.StringdesiredModelArn()The Amazon Resource Name (ARN) of the model requested to be associated to this Provisioned Throughput.IntegerdesiredModelUnits()The number of model units that was requested for this Provisioned Throughput.booleanequals(Object obj)booleanequalsBySdkFields(Object obj)StringfailureMessage()A failure message for any issues that occurred during creation, updating, or deletion of the Provisioned Throughput.StringfoundationModelArn()The Amazon Resource Name (ARN) of the base model for which the Provisioned Throughput was created, or of the base model that the custom model for which the Provisioned Throughput was created was customized.<T> Optional<T>getValueForField(String fieldName, Class<T> clazz)inthashCode()InstantlastModifiedTime()The timestamp of the last time that this Provisioned Throughput was modified.StringmodelArn()The Amazon Resource Name (ARN) of the model associated with this Provisioned Throughput.IntegermodelUnits()The number of model units allocated to this Provisioned Throughput.StringprovisionedModelArn()The Amazon Resource Name (ARN) of the Provisioned Throughput.StringprovisionedModelName()The name of the Provisioned Throughput.Map<String,SdkField<?>>sdkFieldNameToField()List<SdkField<?>>sdkFields()static Class<? extends GetProvisionedModelThroughputResponse.Builder>serializableBuilderClass()ProvisionedModelStatusstatus()The status of the Provisioned Throughput.StringstatusAsString()The status of the Provisioned Throughput.GetProvisionedModelThroughputResponse.BuildertoBuilder()StringtoString()Returns a string representation of this object.-
Methods inherited from class software.amazon.awssdk.services.bedrock.model.BedrockResponse
responseMetadata
-
Methods inherited from class software.amazon.awssdk.core.SdkResponse
sdkHttpResponse
-
Methods inherited from class java.lang.Object
clone, finalize, getClass, notify, notifyAll, wait, wait, wait
-
Methods inherited from interface software.amazon.awssdk.utils.builder.ToCopyableBuilder
copy
-
-
-
-
Method Detail
-
modelUnits
public final Integer modelUnits()
The number of model units allocated to this Provisioned Throughput.
- Returns:
- The number of model units allocated to this Provisioned Throughput.
-
desiredModelUnits
public final Integer desiredModelUnits()
The number of model units that was requested for this Provisioned Throughput.
- Returns:
- The number of model units that was requested for this Provisioned Throughput.
-
provisionedModelName
public final String provisionedModelName()
The name of the Provisioned Throughput.
- Returns:
- The name of the Provisioned Throughput.
-
provisionedModelArn
public final String provisionedModelArn()
The Amazon Resource Name (ARN) of the Provisioned Throughput.
- Returns:
- The Amazon Resource Name (ARN) of the Provisioned Throughput.
-
modelArn
public final String modelArn()
The Amazon Resource Name (ARN) of the model associated with this Provisioned Throughput.
- Returns:
- The Amazon Resource Name (ARN) of the model associated with this Provisioned Throughput.
-
desiredModelArn
public final String desiredModelArn()
The Amazon Resource Name (ARN) of the model requested to be associated to this Provisioned Throughput. This value differs from the
modelArnif updating hasn't completed.- Returns:
- The Amazon Resource Name (ARN) of the model requested to be associated to this Provisioned Throughput.
This value differs from the
modelArnif updating hasn't completed.
-
foundationModelArn
public final String foundationModelArn()
The Amazon Resource Name (ARN) of the base model for which the Provisioned Throughput was created, or of the base model that the custom model for which the Provisioned Throughput was created was customized.
- Returns:
- The Amazon Resource Name (ARN) of the base model for which the Provisioned Throughput was created, or of the base model that the custom model for which the Provisioned Throughput was created was customized.
-
status
public final ProvisionedModelStatus status()
The status of the Provisioned Throughput.
If the service returns an enum value that is not available in the current SDK version,
statuswill returnProvisionedModelStatus.UNKNOWN_TO_SDK_VERSION. The raw value returned by the service is available fromstatusAsString().- Returns:
- The status of the Provisioned Throughput.
- See Also:
ProvisionedModelStatus
-
statusAsString
public final String statusAsString()
The status of the Provisioned Throughput.
If the service returns an enum value that is not available in the current SDK version,
statuswill returnProvisionedModelStatus.UNKNOWN_TO_SDK_VERSION. The raw value returned by the service is available fromstatusAsString().- Returns:
- The status of the Provisioned Throughput.
- See Also:
ProvisionedModelStatus
-
creationTime
public final Instant creationTime()
The timestamp of the creation time for this Provisioned Throughput.
- Returns:
- The timestamp of the creation time for this Provisioned Throughput.
-
lastModifiedTime
public final Instant lastModifiedTime()
The timestamp of the last time that this Provisioned Throughput was modified.
- Returns:
- The timestamp of the last time that this Provisioned Throughput was modified.
-
failureMessage
public final String failureMessage()
A failure message for any issues that occurred during creation, updating, or deletion of the Provisioned Throughput.
- Returns:
- A failure message for any issues that occurred during creation, updating, or deletion of the Provisioned Throughput.
-
commitmentDuration
public final CommitmentDuration commitmentDuration()
Commitment duration of the Provisioned Throughput.
If the service returns an enum value that is not available in the current SDK version,
commitmentDurationwill returnCommitmentDuration.UNKNOWN_TO_SDK_VERSION. The raw value returned by the service is available fromcommitmentDurationAsString().- Returns:
- Commitment duration of the Provisioned Throughput.
- See Also:
CommitmentDuration
-
commitmentDurationAsString
public final String commitmentDurationAsString()
Commitment duration of the Provisioned Throughput.
If the service returns an enum value that is not available in the current SDK version,
commitmentDurationwill returnCommitmentDuration.UNKNOWN_TO_SDK_VERSION. The raw value returned by the service is available fromcommitmentDurationAsString().- Returns:
- Commitment duration of the Provisioned Throughput.
- See Also:
CommitmentDuration
-
commitmentExpirationTime
public final Instant commitmentExpirationTime()
The timestamp for when the commitment term for the Provisioned Throughput expires.
- Returns:
- The timestamp for when the commitment term for the Provisioned Throughput expires.
-
toBuilder
public GetProvisionedModelThroughputResponse.Builder toBuilder()
- Specified by:
toBuilderin interfaceToCopyableBuilder<GetProvisionedModelThroughputResponse.Builder,GetProvisionedModelThroughputResponse>- Specified by:
toBuilderin classAwsResponse
-
builder
public static GetProvisionedModelThroughputResponse.Builder builder()
-
serializableBuilderClass
public static Class<? extends GetProvisionedModelThroughputResponse.Builder> serializableBuilderClass()
-
hashCode
public final int hashCode()
- Overrides:
hashCodein classAwsResponse
-
equals
public final boolean equals(Object obj)
- Overrides:
equalsin classAwsResponse
-
equalsBySdkFields
public final boolean equalsBySdkFields(Object obj)
- Specified by:
equalsBySdkFieldsin interfaceSdkPojo
-
toString
public final String toString()
Returns a string representation of this object. This is useful for testing and debugging. Sensitive data will be redacted from this string using a placeholder value.
-
getValueForField
public final <T> Optional<T> getValueForField(String fieldName, Class<T> clazz)
- Overrides:
getValueForFieldin classSdkResponse
-
sdkFieldNameToField
public final Map<String,SdkField<?>> sdkFieldNameToField()
- Specified by:
sdkFieldNameToFieldin interfaceSdkPojo
-
-