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 interface
DescribeInferenceComponentResponse.Builder
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description static DescribeInferenceComponentResponse.Builder
builder()
Instant
creationTime()
The time when the inference component was created.String
endpointArn()
The Amazon Resource Name (ARN) of the endpoint that hosts the inference component.String
endpointName()
The name of the endpoint that hosts the inference component.boolean
equals(Object obj)
boolean
equalsBySdkFields(Object obj)
String
failureReason()
If the inference component status isFailed
, the reason for the failure.<T> Optional<T>
getValueForField(String fieldName, Class<T> clazz)
int
hashCode()
String
inferenceComponentArn()
The Amazon Resource Name (ARN) of the inference component.String
inferenceComponentName()
The name of the inference component.InferenceComponentStatus
inferenceComponentStatus()
The status of the inference component.String
inferenceComponentStatusAsString()
The status of the inference component.Instant
lastModifiedTime()
The time when the inference component was last updated.InferenceComponentRuntimeConfigSummary
runtimeConfig()
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()
InferenceComponentSpecificationSummary
specification()
Details about the resources that are deployed with this inference component.DescribeInferenceComponentResponse.Builder
toBuilder()
String
toString()
Returns a string representation of this object.String
variantName()
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,
inferenceComponentStatus
will 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,
inferenceComponentStatus
will 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:
toBuilder
in interfaceToCopyableBuilder<DescribeInferenceComponentResponse.Builder,DescribeInferenceComponentResponse>
- Specified by:
toBuilder
in classAwsResponse
-
builder
public static DescribeInferenceComponentResponse.Builder builder()
-
serializableBuilderClass
public static Class<? extends DescribeInferenceComponentResponse.Builder> serializableBuilderClass()
-
hashCode
public final int hashCode()
- Overrides:
hashCode
in classAwsResponse
-
equals
public final boolean equals(Object obj)
- Overrides:
equals
in classAwsResponse
-
equalsBySdkFields
public final boolean equalsBySdkFields(Object obj)
- Specified by:
equalsBySdkFields
in 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:
getValueForField
in classSdkResponse
-
sdkFieldNameToField
public final Map<String,SdkField<?>> sdkFieldNameToField()
- Specified by:
sdkFieldNameToField
in interfaceSdkPojo
-
-