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()Commitment expiration time for the provisioned throughput.InstantcreationTime()The timestamp of the creation time for this provisioned throughput.StringdesiredModelArn()The ARN of the new model to asssociate with this provisioned throughput.IntegerdesiredModelUnits()The desired number of model units that was requested to be available for this provisioned throughput.booleanequals(Object obj)booleanequalsBySdkFields(Object obj)StringfailureMessage()Failure message for any issues that the create operation encounters.StringfoundationModelArn()ARN of the foundation model.<T> Optional<T>getValueForField(String fieldName, Class<T> clazz)inthashCode()InstantlastModifiedTime()The timestamp of the last modified time of this provisioned throughput.StringmodelArn()The ARN or name of the model associated with this provisioned throughput.IntegermodelUnits()The current number of model units requested to be available for this provisioned throughput.StringprovisionedModelArn()The ARN of the provisioned throughput.StringprovisionedModelName()The name of the provisioned throughput.List<SdkField<?>>sdkFields()static Class<? extends GetProvisionedModelThroughputResponse.Builder>serializableBuilderClass()ProvisionedModelStatusstatus()Status of the provisioned throughput.StringstatusAsString()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 current number of model units requested to be available for this provisioned throughput.
- Returns:
- The current number of model units requested to be available for this provisioned throughput.
-
desiredModelUnits
public final Integer desiredModelUnits()
The desired number of model units that was requested to be available for this provisioned throughput.
- Returns:
- The desired number of model units that was requested to be available 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 ARN of the provisioned throughput.
- Returns:
- The ARN of the provisioned throughput.
-
modelArn
public final String modelArn()
The ARN or name of the model associated with this provisioned throughput.
- Returns:
- The ARN or name of the model associated with this provisioned throughput.
-
desiredModelArn
public final String desiredModelArn()
The ARN of the new model to asssociate with this provisioned throughput.
- Returns:
- The ARN of the new model to asssociate with this provisioned throughput.
-
foundationModelArn
public final String foundationModelArn()
ARN of the foundation model.
- Returns:
- ARN of the foundation model.
-
status
public final ProvisionedModelStatus status()
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:
- Status of the provisioned throughput.
- See Also:
ProvisionedModelStatus
-
statusAsString
public final String statusAsString()
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:
- 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 modified time of this provisioned throughput.
- Returns:
- The timestamp of the last modified time of this provisioned throughput.
-
failureMessage
public final String failureMessage()
Failure message for any issues that the create operation encounters.
- Returns:
- Failure message for any issues that the create operation encounters.
-
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()
Commitment expiration time for the provisioned throughput.
- Returns:
- Commitment expiration time for the provisioned throughput.
-
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
-
-