Class DescribeInferenceComponentResponse
- java.lang.Object
-
- software.amazon.awssdk.core.SdkResponse
-
- software.amazon.awssdk.awscore.AwsResponse
-
- software.amazon.awssdk.services.sagemaker.model.SageMakerResponse
-
- software.amazon.awssdk.services.sagemaker.model.DescribeInferenceComponentResponse
-
- All Implemented Interfaces:
SdkPojo,ToCopyableBuilder<DescribeInferenceComponentResponse.Builder,DescribeInferenceComponentResponse>
@Generated("software.amazon.awssdk:codegen") public final class DescribeInferenceComponentResponse extends SageMakerResponse implements ToCopyableBuilder<DescribeInferenceComponentResponse.Builder,DescribeInferenceComponentResponse>
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static interfaceDescribeInferenceComponentResponse.Builder
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description static DescribeInferenceComponentResponse.Builderbuilder()InstantcreationTime()The time when the inference component was created.StringendpointArn()The Amazon Resource Name (ARN) of the endpoint that hosts the inference component.StringendpointName()The name of the endpoint that hosts the inference component.booleanequals(Object obj)booleanequalsBySdkFields(Object obj)StringfailureReason()If the inference component status isFailed, the reason for the failure.<T> Optional<T>getValueForField(String fieldName, Class<T> clazz)inthashCode()StringinferenceComponentArn()The Amazon Resource Name (ARN) of the inference component.StringinferenceComponentName()The name of the inference component.InferenceComponentStatusinferenceComponentStatus()The status of the inference component.StringinferenceComponentStatusAsString()The status of the inference component.InstantlastModifiedTime()The time when the inference component was last updated.InferenceComponentRuntimeConfigSummaryruntimeConfig()Details about the runtime settings for the model that is deployed with the inference component.Map<String,SdkField<?>>sdkFieldNameToField()List<SdkField<?>>sdkFields()static Class<? extends DescribeInferenceComponentResponse.Builder>serializableBuilderClass()InferenceComponentSpecificationSummaryspecification()Details about the resources that are deployed with this inference component.DescribeInferenceComponentResponse.BuildertoBuilder()StringtoString()Returns a string representation of this object.StringvariantName()The name of the production variant that hosts the inference component.-
Methods inherited from class software.amazon.awssdk.services.sagemaker.model.SageMakerResponse
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
-
inferenceComponentName
public final String inferenceComponentName()
The name of the inference component.
- Returns:
- The name of the inference component.
-
inferenceComponentArn
public final String inferenceComponentArn()
The Amazon Resource Name (ARN) of the inference component.
- Returns:
- The Amazon Resource Name (ARN) of the inference component.
-
endpointName
public final String endpointName()
The name of the endpoint that hosts the inference component.
- Returns:
- The name of the endpoint that hosts the inference component.
-
endpointArn
public final String endpointArn()
The Amazon Resource Name (ARN) of the endpoint that hosts the inference component.
- Returns:
- The Amazon Resource Name (ARN) of the endpoint that hosts the inference component.
-
variantName
public final String variantName()
The name of the production variant that hosts the inference component.
- Returns:
- The name of the production variant that hosts the inference component.
-
failureReason
public final String failureReason()
If the inference component status is
Failed, the reason for the failure.- Returns:
- If the inference component status is
Failed, the reason for the failure.
-
specification
public final InferenceComponentSpecificationSummary specification()
Details about the resources that are deployed with this inference component.
- Returns:
- Details about the resources that are deployed with this inference component.
-
runtimeConfig
public final InferenceComponentRuntimeConfigSummary runtimeConfig()
Details about the runtime settings for the model that is deployed with the inference component.
- Returns:
- Details about the runtime settings for the model that is deployed with the inference component.
-
creationTime
public final Instant creationTime()
The time when the inference component was created.
- Returns:
- The time when the inference component was created.
-
lastModifiedTime
public final Instant lastModifiedTime()
The time when the inference component was last updated.
- Returns:
- The time when the inference component was last updated.
-
inferenceComponentStatus
public final InferenceComponentStatus inferenceComponentStatus()
The status of the inference component.
If the service returns an enum value that is not available in the current SDK version,
inferenceComponentStatuswill returnInferenceComponentStatus.UNKNOWN_TO_SDK_VERSION. The raw value returned by the service is available frominferenceComponentStatusAsString().- Returns:
- The status of the inference component.
- See Also:
InferenceComponentStatus
-
inferenceComponentStatusAsString
public final String inferenceComponentStatusAsString()
The status of the inference component.
If the service returns an enum value that is not available in the current SDK version,
inferenceComponentStatuswill returnInferenceComponentStatus.UNKNOWN_TO_SDK_VERSION. The raw value returned by the service is available frominferenceComponentStatusAsString().- Returns:
- The status of the inference component.
- See Also:
InferenceComponentStatus
-
toBuilder
public DescribeInferenceComponentResponse.Builder toBuilder()
- Specified by:
toBuilderin interfaceToCopyableBuilder<DescribeInferenceComponentResponse.Builder,DescribeInferenceComponentResponse>- Specified by:
toBuilderin classAwsResponse
-
builder
public static DescribeInferenceComponentResponse.Builder builder()
-
serializableBuilderClass
public static Class<? extends DescribeInferenceComponentResponse.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
-
-