@Generated(value="software.amazon.awssdk:codegen") public final class GetProvisionedModelThroughputResponse extends BedrockResponse implements ToCopyableBuilder<GetProvisionedModelThroughputResponse.Builder,GetProvisionedModelThroughputResponse>
| Modifier and Type | Class and Description |
|---|---|
static interface |
GetProvisionedModelThroughputResponse.Builder |
| Modifier and Type | Method and Description |
|---|---|
static GetProvisionedModelThroughputResponse.Builder |
builder() |
CommitmentDuration |
commitmentDuration()
Commitment duration of the provisioned throughput.
|
String |
commitmentDurationAsString()
Commitment duration of the provisioned throughput.
|
Instant |
commitmentExpirationTime()
Commitment expiration time for the provisioned throughput.
|
Instant |
creationTime()
The timestamp of the creation time for this provisioned throughput.
|
String |
desiredModelArn()
The ARN of the new model to asssociate with this provisioned throughput.
|
Integer |
desiredModelUnits()
The desired number of model units that was requested to be available for this provisioned throughput.
|
boolean |
equals(Object obj) |
boolean |
equalsBySdkFields(Object obj) |
String |
failureMessage()
Failure message for any issues that the create operation encounters.
|
String |
foundationModelArn()
ARN of the foundation model.
|
<T> Optional<T> |
getValueForField(String fieldName,
Class<T> clazz) |
int |
hashCode() |
Instant |
lastModifiedTime()
The timestamp of the last modified time of this provisioned throughput.
|
String |
modelArn()
The ARN or name of the model associated with this provisioned throughput.
|
Integer |
modelUnits()
The current number of model units requested to be available for this provisioned throughput.
|
String |
provisionedModelArn()
The ARN of the provisioned throughput.
|
String |
provisionedModelName()
The name of the provisioned throughput.
|
List<SdkField<?>> |
sdkFields() |
static Class<? extends GetProvisionedModelThroughputResponse.Builder> |
serializableBuilderClass() |
ProvisionedModelStatus |
status()
Status of the provisioned throughput.
|
String |
statusAsString()
Status of the provisioned throughput.
|
GetProvisionedModelThroughputResponse.Builder |
toBuilder() |
String |
toString()
Returns a string representation of this object.
|
responseMetadatasdkHttpResponseclone, finalize, getClass, notify, notifyAll, wait, wait, waitcopypublic final Integer modelUnits()
The current number of model units requested to be available for this provisioned throughput.
public final Integer desiredModelUnits()
The desired number of model units that was requested to be available for this provisioned throughput.
public final String provisionedModelName()
The name of the provisioned throughput.
public final String provisionedModelArn()
The ARN of the provisioned throughput.
public final String modelArn()
The ARN or name of the model associated with this provisioned throughput.
public final String desiredModelArn()
The ARN of the new model to asssociate with this provisioned throughput.
public final String foundationModelArn()
ARN of the foundation model.
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, status will
return ProvisionedModelStatus.UNKNOWN_TO_SDK_VERSION. The raw value returned by the service is available
from statusAsString().
ProvisionedModelStatuspublic final String statusAsString()
Status of the provisioned throughput.
If the service returns an enum value that is not available in the current SDK version, status will
return ProvisionedModelStatus.UNKNOWN_TO_SDK_VERSION. The raw value returned by the service is available
from statusAsString().
ProvisionedModelStatuspublic final Instant creationTime()
The timestamp of the creation time for this provisioned throughput.
public final Instant lastModifiedTime()
The timestamp of the last modified time of this provisioned throughput.
public final String failureMessage()
Failure message for any issues that the create operation encounters.
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,
commitmentDuration will return CommitmentDuration.UNKNOWN_TO_SDK_VERSION. The raw value returned
by the service is available from commitmentDurationAsString().
CommitmentDurationpublic 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,
commitmentDuration will return CommitmentDuration.UNKNOWN_TO_SDK_VERSION. The raw value returned
by the service is available from commitmentDurationAsString().
CommitmentDurationpublic final Instant commitmentExpirationTime()
Commitment expiration time for the provisioned throughput.
public GetProvisionedModelThroughputResponse.Builder toBuilder()
toBuilder in interface ToCopyableBuilder<GetProvisionedModelThroughputResponse.Builder,GetProvisionedModelThroughputResponse>toBuilder in class AwsResponsepublic static GetProvisionedModelThroughputResponse.Builder builder()
public static Class<? extends GetProvisionedModelThroughputResponse.Builder> serializableBuilderClass()
public final int hashCode()
hashCode in class AwsResponsepublic final boolean equals(Object obj)
equals in class AwsResponsepublic final boolean equalsBySdkFields(Object obj)
equalsBySdkFields in interface SdkPojopublic final String toString()
public final <T> Optional<T> getValueForField(String fieldName, Class<T> clazz)
getValueForField in class SdkResponseCopyright © 2023. All rights reserved.