Class EndpointMetadata
- java.lang.Object
-
- software.amazon.awssdk.services.sagemaker.model.EndpointMetadata
-
- All Implemented Interfaces:
Serializable
,SdkPojo
,ToCopyableBuilder<EndpointMetadata.Builder,EndpointMetadata>
@Generated("software.amazon.awssdk:codegen") public final class EndpointMetadata extends Object implements SdkPojo, Serializable, ToCopyableBuilder<EndpointMetadata.Builder,EndpointMetadata>
The metadata of the endpoint.
- See Also:
- Serialized Form
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static interface
EndpointMetadata.Builder
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description static EndpointMetadata.Builder
builder()
String
endpointConfigName()
The name of the endpoint configuration.String
endpointName()
The name of the endpoint.EndpointStatus
endpointStatus()
The status of the endpoint.String
endpointStatusAsString()
The status of the endpoint.boolean
equals(Object obj)
boolean
equalsBySdkFields(Object obj)
String
failureReason()
If the status of the endpoint isFailed
, or the status isInService
but update operation fails, this provides the reason why it failed.<T> Optional<T>
getValueForField(String fieldName, Class<T> clazz)
int
hashCode()
List<SdkField<?>>
sdkFields()
static Class<? extends EndpointMetadata.Builder>
serializableBuilderClass()
EndpointMetadata.Builder
toBuilder()
String
toString()
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
-
endpointName
public final String endpointName()
The name of the endpoint.
- Returns:
- The name of the endpoint.
-
endpointConfigName
public final String endpointConfigName()
The name of the endpoint configuration.
- Returns:
- The name of the endpoint configuration.
-
endpointStatus
public final EndpointStatus endpointStatus()
The status of the endpoint. For possible values of the status of an endpoint, see EndpointSummary.
If the service returns an enum value that is not available in the current SDK version,
endpointStatus
will returnEndpointStatus.UNKNOWN_TO_SDK_VERSION
. The raw value returned by the service is available fromendpointStatusAsString()
.- Returns:
- The status of the endpoint. For possible values of the status of an endpoint, see EndpointSummary.
- See Also:
EndpointStatus
-
endpointStatusAsString
public final String endpointStatusAsString()
The status of the endpoint. For possible values of the status of an endpoint, see EndpointSummary.
If the service returns an enum value that is not available in the current SDK version,
endpointStatus
will returnEndpointStatus.UNKNOWN_TO_SDK_VERSION
. The raw value returned by the service is available fromendpointStatusAsString()
.- Returns:
- The status of the endpoint. For possible values of the status of an endpoint, see EndpointSummary.
- See Also:
EndpointStatus
-
failureReason
public final String failureReason()
If the status of the endpoint is
Failed
, or the status isInService
but update operation fails, this provides the reason why it failed.- Returns:
- If the status of the endpoint is
Failed
, or the status isInService
but update operation fails, this provides the reason why it failed.
-
toBuilder
public EndpointMetadata.Builder toBuilder()
- Specified by:
toBuilder
in interfaceToCopyableBuilder<EndpointMetadata.Builder,EndpointMetadata>
-
builder
public static EndpointMetadata.Builder builder()
-
serializableBuilderClass
public static Class<? extends EndpointMetadata.Builder> serializableBuilderClass()
-
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.
-
-