Class ProvisionedModelSummary
- java.lang.Object
-
- software.amazon.awssdk.services.bedrock.model.ProvisionedModelSummary
-
- All Implemented Interfaces:
Serializable,SdkPojo,ToCopyableBuilder<ProvisionedModelSummary.Builder,ProvisionedModelSummary>
@Generated("software.amazon.awssdk:codegen") public final class ProvisionedModelSummary extends Object implements SdkPojo, Serializable, ToCopyableBuilder<ProvisionedModelSummary.Builder,ProvisionedModelSummary>
Set of fields associated with a provisioned throughput.
- See Also:
- Serialized Form
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static interfaceProvisionedModelSummary.Builder
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description static ProvisionedModelSummary.Builderbuilder()CommitmentDurationcommitmentDuration()Commitment duration for the provisioned throughput.StringcommitmentDurationAsString()Commitment duration for the provisioned throughput.InstantcommitmentExpirationTime()Commitment expiration time for the provisioned throughput.InstantcreationTime()The time that this provisioned throughput was created.StringdesiredModelArn()Desired model ARN.IntegerdesiredModelUnits()Desired model units.booleanequals(Object obj)booleanequalsBySdkFields(Object obj)StringfoundationModelArn()Foundation model ARN.<T> Optional<T>getValueForField(String fieldName, Class<T> clazz)inthashCode()InstantlastModifiedTime()The time that this provisioned throughput was last modified.StringmodelArn()The ARN of the model associated with this provisioned throughput.IntegermodelUnits()The number of model units allocated.StringprovisionedModelArn()The ARN of the provisioned throughput.StringprovisionedModelName()The name of the provisioned throughput.List<SdkField<?>>sdkFields()static Class<? extends ProvisionedModelSummary.Builder>serializableBuilderClass()ProvisionedModelStatusstatus()Status of the provisioned throughput.StringstatusAsString()Status of the provisioned throughput.ProvisionedModelSummary.BuildertoBuilder()StringtoString()Returns a string representation of this object.-
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
-
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 of the model associated with this provisioned throughput.
- Returns:
- The ARN of the model associated with this provisioned throughput.
-
desiredModelArn
public final String desiredModelArn()
Desired model ARN.
- Returns:
- Desired model ARN.
-
foundationModelArn
public final String foundationModelArn()
Foundation model ARN.
- Returns:
- Foundation model ARN.
-
modelUnits
public final Integer modelUnits()
The number of model units allocated.
- Returns:
- The number of model units allocated.
-
desiredModelUnits
public final Integer desiredModelUnits()
Desired model units.
- Returns:
- Desired model units.
-
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
-
commitmentDuration
public final CommitmentDuration commitmentDuration()
Commitment duration for 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 for the provisioned throughput.
- See Also:
CommitmentDuration
-
commitmentDurationAsString
public final String commitmentDurationAsString()
Commitment duration for 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 for 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.
-
creationTime
public final Instant creationTime()
The time that this provisioned throughput was created.
- Returns:
- The time that this provisioned throughput was created.
-
lastModifiedTime
public final Instant lastModifiedTime()
The time that this provisioned throughput was last modified.
- Returns:
- The time that this provisioned throughput was last modified.
-
toBuilder
public ProvisionedModelSummary.Builder toBuilder()
- Specified by:
toBuilderin interfaceToCopyableBuilder<ProvisionedModelSummary.Builder,ProvisionedModelSummary>
-
builder
public static ProvisionedModelSummary.Builder builder()
-
serializableBuilderClass
public static Class<? extends ProvisionedModelSummary.Builder> serializableBuilderClass()
-
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.
-
-