Class GetCustomModelDeploymentResponse
- 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.GetCustomModelDeploymentResponse
-
- All Implemented Interfaces:
SdkPojo,ToCopyableBuilder<GetCustomModelDeploymentResponse.Builder,GetCustomModelDeploymentResponse>
@Generated("software.amazon.awssdk:codegen") public final class GetCustomModelDeploymentResponse extends BedrockResponse implements ToCopyableBuilder<GetCustomModelDeploymentResponse.Builder,GetCustomModelDeploymentResponse>
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static interfaceGetCustomModelDeploymentResponse.Builder
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description static GetCustomModelDeploymentResponse.Builderbuilder()InstantcreatedAt()The date and time when the custom model deployment was created.StringcustomModelDeploymentArn()The Amazon Resource Name (ARN) of the custom model deployment.Stringdescription()The description of the custom model deployment.booleanequals(Object obj)booleanequalsBySdkFields(Object obj)StringfailureMessage()If the deployment status isFAILED, this field contains a message describing the failure reason.<T> Optional<T>getValueForField(String fieldName, Class<T> clazz)inthashCode()InstantlastUpdatedAt()The date and time when the custom model deployment was last updated.StringmodelArn()The Amazon Resource Name (ARN) of the custom model associated with this deployment.StringmodelDeploymentName()The name of the custom model deployment.Map<String,SdkField<?>>sdkFieldNameToField()List<SdkField<?>>sdkFields()static Class<? extends GetCustomModelDeploymentResponse.Builder>serializableBuilderClass()CustomModelDeploymentStatusstatus()The status of the custom model deployment.StringstatusAsString()The status of the custom model deployment.GetCustomModelDeploymentResponse.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
-
customModelDeploymentArn
public final String customModelDeploymentArn()
The Amazon Resource Name (ARN) of the custom model deployment.
- Returns:
- The Amazon Resource Name (ARN) of the custom model deployment.
-
modelDeploymentName
public final String modelDeploymentName()
The name of the custom model deployment.
- Returns:
- The name of the custom model deployment.
-
modelArn
public final String modelArn()
The Amazon Resource Name (ARN) of the custom model associated with this deployment.
- Returns:
- The Amazon Resource Name (ARN) of the custom model associated with this deployment.
-
createdAt
public final Instant createdAt()
The date and time when the custom model deployment was created.
- Returns:
- The date and time when the custom model deployment was created.
-
status
public final CustomModelDeploymentStatus status()
The status of the custom model deployment. Possible values are:
-
CREATING- The deployment is being set up and prepared for inference. -
ACTIVE- The deployment is ready and available for inference requests. -
FAILED- The deployment failed to be created or became unavailable.
If the service returns an enum value that is not available in the current SDK version,
statuswill returnCustomModelDeploymentStatus.UNKNOWN_TO_SDK_VERSION. The raw value returned by the service is available fromstatusAsString().- Returns:
- The status of the custom model deployment. Possible values are:
-
CREATING- The deployment is being set up and prepared for inference. -
ACTIVE- The deployment is ready and available for inference requests. -
FAILED- The deployment failed to be created or became unavailable.
-
- See Also:
CustomModelDeploymentStatus
-
-
statusAsString
public final String statusAsString()
The status of the custom model deployment. Possible values are:
-
CREATING- The deployment is being set up and prepared for inference. -
ACTIVE- The deployment is ready and available for inference requests. -
FAILED- The deployment failed to be created or became unavailable.
If the service returns an enum value that is not available in the current SDK version,
statuswill returnCustomModelDeploymentStatus.UNKNOWN_TO_SDK_VERSION. The raw value returned by the service is available fromstatusAsString().- Returns:
- The status of the custom model deployment. Possible values are:
-
CREATING- The deployment is being set up and prepared for inference. -
ACTIVE- The deployment is ready and available for inference requests. -
FAILED- The deployment failed to be created or became unavailable.
-
- See Also:
CustomModelDeploymentStatus
-
-
description
public final String description()
The description of the custom model deployment.
- Returns:
- The description of the custom model deployment.
-
failureMessage
public final String failureMessage()
If the deployment status is
FAILED, this field contains a message describing the failure reason.- Returns:
- If the deployment status is
FAILED, this field contains a message describing the failure reason.
-
lastUpdatedAt
public final Instant lastUpdatedAt()
The date and time when the custom model deployment was last updated.
- Returns:
- The date and time when the custom model deployment was last updated.
-
toBuilder
public GetCustomModelDeploymentResponse.Builder toBuilder()
- Specified by:
toBuilderin interfaceToCopyableBuilder<GetCustomModelDeploymentResponse.Builder,GetCustomModelDeploymentResponse>- Specified by:
toBuilderin classAwsResponse
-
builder
public static GetCustomModelDeploymentResponse.Builder builder()
-
serializableBuilderClass
public static Class<? extends GetCustomModelDeploymentResponse.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
-
-