Class UpdateProvisionedModelThroughputRequest
- java.lang.Object
-
- software.amazon.awssdk.core.SdkRequest
-
- software.amazon.awssdk.awscore.AwsRequest
-
- software.amazon.awssdk.services.bedrock.model.BedrockRequest
-
- software.amazon.awssdk.services.bedrock.model.UpdateProvisionedModelThroughputRequest
-
- All Implemented Interfaces:
SdkPojo,ToCopyableBuilder<UpdateProvisionedModelThroughputRequest.Builder,UpdateProvisionedModelThroughputRequest>
@Generated("software.amazon.awssdk:codegen") public final class UpdateProvisionedModelThroughputRequest extends BedrockRequest implements ToCopyableBuilder<UpdateProvisionedModelThroughputRequest.Builder,UpdateProvisionedModelThroughputRequest>
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static interfaceUpdateProvisionedModelThroughputRequest.Builder
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description static UpdateProvisionedModelThroughputRequest.Builderbuilder()StringdesiredModelId()The Amazon Resource Name (ARN) of the new model to associate with this Provisioned Throughput.StringdesiredProvisionedModelName()The new name for this Provisioned Throughput.booleanequals(Object obj)booleanequalsBySdkFields(Object obj)<T> Optional<T>getValueForField(String fieldName, Class<T> clazz)inthashCode()StringprovisionedModelId()The Amazon Resource Name (ARN) or name of the Provisioned Throughput to update.Map<String,SdkField<?>>sdkFieldNameToField()List<SdkField<?>>sdkFields()static Class<? extends UpdateProvisionedModelThroughputRequest.Builder>serializableBuilderClass()UpdateProvisionedModelThroughputRequest.BuildertoBuilder()StringtoString()Returns a string representation of this object.-
Methods inherited from class software.amazon.awssdk.awscore.AwsRequest
overrideConfiguration
-
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
-
provisionedModelId
public final String provisionedModelId()
The Amazon Resource Name (ARN) or name of the Provisioned Throughput to update.
- Returns:
- The Amazon Resource Name (ARN) or name of the Provisioned Throughput to update.
-
desiredProvisionedModelName
public final String desiredProvisionedModelName()
The new name for this Provisioned Throughput.
- Returns:
- The new name for this Provisioned Throughput.
-
desiredModelId
public final String desiredModelId()
The Amazon Resource Name (ARN) of the new model to associate with this Provisioned Throughput. You can't specify this field if this Provisioned Throughput is associated with a base model.
If this Provisioned Throughput is associated with a custom model, you can specify one of the following options:
-
The base model from which the custom model was customized.
-
Another custom model that was customized from the same base model as the custom model.
- Returns:
- The Amazon Resource Name (ARN) of the new model to associate with this Provisioned Throughput. You can't
specify this field if this Provisioned Throughput is associated with a base model.
If this Provisioned Throughput is associated with a custom model, you can specify one of the following options:
-
The base model from which the custom model was customized.
-
Another custom model that was customized from the same base model as the custom model.
-
-
-
toBuilder
public UpdateProvisionedModelThroughputRequest.Builder toBuilder()
- Specified by:
toBuilderin interfaceToCopyableBuilder<UpdateProvisionedModelThroughputRequest.Builder,UpdateProvisionedModelThroughputRequest>- Specified by:
toBuilderin classBedrockRequest
-
builder
public static UpdateProvisionedModelThroughputRequest.Builder builder()
-
serializableBuilderClass
public static Class<? extends UpdateProvisionedModelThroughputRequest.Builder> serializableBuilderClass()
-
hashCode
public final int hashCode()
- Overrides:
hashCodein classAwsRequest
-
equals
public final boolean equals(Object obj)
- Overrides:
equalsin classAwsRequest
-
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 classSdkRequest
-
sdkFieldNameToField
public final Map<String,SdkField<?>> sdkFieldNameToField()
- Specified by:
sdkFieldNameToFieldin interfaceSdkPojo
-
-