Class DeploymentModel
- java.lang.Object
-
- software.amazon.awssdk.services.sagemakeredge.model.DeploymentModel
-
- All Implemented Interfaces:
Serializable,SdkPojo,ToCopyableBuilder<DeploymentModel.Builder,DeploymentModel>
@Generated("software.amazon.awssdk:codegen") public final class DeploymentModel extends Object implements SdkPojo, Serializable, ToCopyableBuilder<DeploymentModel.Builder,DeploymentModel>
- See Also:
- Serialized Form
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static interfaceDeploymentModel.Builder
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description static DeploymentModel.Builderbuilder()ModelStatedesiredState()The desired state of the model.StringdesiredStateAsString()The desired state of the model.booleanequals(Object obj)booleanequalsBySdkFields(Object obj)<T> Optional<T>getValueForField(String fieldName, Class<T> clazz)inthashCode()StringmodelHandle()The unique handle of the model.StringmodelName()The name of the model.StringmodelVersion()The version of the model.StringrollbackFailureReason()Returns the error message if there is a rollback.List<SdkField<?>>sdkFields()static Class<? extends DeploymentModel.Builder>serializableBuilderClass()ModelStatestate()Returns the current state of the model.StringstateAsString()Returns the current state of the model.DeploymentStatusstatus()Returns the deployment status of the model.StringstatusAsString()Returns the deployment status of the model.StringstatusReason()Returns the error message for the deployment status result.DeploymentModel.BuildertoBuilder()StringtoString()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
-
modelHandle
public final String modelHandle()
The unique handle of the model.
- Returns:
- The unique handle of the model.
-
modelName
public final String modelName()
The name of the model.
- Returns:
- The name of the model.
-
modelVersion
public final String modelVersion()
The version of the model.
- Returns:
- The version of the model.
-
desiredState
public final ModelState desiredState()
The desired state of the model.
If the service returns an enum value that is not available in the current SDK version,
desiredStatewill returnModelState.UNKNOWN_TO_SDK_VERSION. The raw value returned by the service is available fromdesiredStateAsString().- Returns:
- The desired state of the model.
- See Also:
ModelState
-
desiredStateAsString
public final String desiredStateAsString()
The desired state of the model.
If the service returns an enum value that is not available in the current SDK version,
desiredStatewill returnModelState.UNKNOWN_TO_SDK_VERSION. The raw value returned by the service is available fromdesiredStateAsString().- Returns:
- The desired state of the model.
- See Also:
ModelState
-
state
public final ModelState state()
Returns the current state of the model.
If the service returns an enum value that is not available in the current SDK version,
statewill returnModelState.UNKNOWN_TO_SDK_VERSION. The raw value returned by the service is available fromstateAsString().- Returns:
- Returns the current state of the model.
- See Also:
ModelState
-
stateAsString
public final String stateAsString()
Returns the current state of the model.
If the service returns an enum value that is not available in the current SDK version,
statewill returnModelState.UNKNOWN_TO_SDK_VERSION. The raw value returned by the service is available fromstateAsString().- Returns:
- Returns the current state of the model.
- See Also:
ModelState
-
status
public final DeploymentStatus status()
Returns the deployment status of the model.
If the service returns an enum value that is not available in the current SDK version,
statuswill returnDeploymentStatus.UNKNOWN_TO_SDK_VERSION. The raw value returned by the service is available fromstatusAsString().- Returns:
- Returns the deployment status of the model.
- See Also:
DeploymentStatus
-
statusAsString
public final String statusAsString()
Returns the deployment status of the model.
If the service returns an enum value that is not available in the current SDK version,
statuswill returnDeploymentStatus.UNKNOWN_TO_SDK_VERSION. The raw value returned by the service is available fromstatusAsString().- Returns:
- Returns the deployment status of the model.
- See Also:
DeploymentStatus
-
statusReason
public final String statusReason()
Returns the error message for the deployment status result.
- Returns:
- Returns the error message for the deployment status result.
-
rollbackFailureReason
public final String rollbackFailureReason()
Returns the error message if there is a rollback.
- Returns:
- Returns the error message if there is a rollback.
-
toBuilder
public DeploymentModel.Builder toBuilder()
- Specified by:
toBuilderin interfaceToCopyableBuilder<DeploymentModel.Builder,DeploymentModel>
-
builder
public static DeploymentModel.Builder builder()
-
serializableBuilderClass
public static Class<? extends DeploymentModel.Builder> serializableBuilderClass()
-
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.
-
-