@Generated(value="software.amazon.awssdk:codegen") public final class DeploymentModel extends Object implements SdkPojo, Serializable, ToCopyableBuilder<DeploymentModel.Builder,DeploymentModel>
| Modifier and Type | Class and Description |
|---|---|
static interface |
DeploymentModel.Builder |
| Modifier and Type | Method and Description |
|---|---|
static DeploymentModel.Builder |
builder() |
ModelState |
desiredState()
The desired state of the model.
|
String |
desiredStateAsString()
The desired state of the model.
|
boolean |
equals(Object obj) |
boolean |
equalsBySdkFields(Object obj) |
<T> Optional<T> |
getValueForField(String fieldName,
Class<T> clazz) |
int |
hashCode() |
String |
modelHandle()
The unique handle of the model.
|
String |
modelName()
The name of the model.
|
String |
modelVersion()
The version of the model.
|
String |
rollbackFailureReason()
Returns the error message if there is a rollback.
|
List<SdkField<?>> |
sdkFields() |
static Class<? extends DeploymentModel.Builder> |
serializableBuilderClass() |
ModelState |
state()
Returns the current state of the model.
|
String |
stateAsString()
Returns the current state of the model.
|
DeploymentStatus |
status()
Returns the deployment status of the model.
|
String |
statusAsString()
Returns the deployment status of the model.
|
String |
statusReason()
Returns the error message for the deployment status result.
|
DeploymentModel.Builder |
toBuilder() |
String |
toString()
Returns a string representation of this object.
|
clone, finalize, getClass, notify, notifyAll, wait, wait, waitcopypublic final String modelHandle()
The unique handle of the model.
public final String modelName()
The name of the model.
public final String modelVersion()
The version of the model.
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, desiredState will
return ModelState.UNKNOWN_TO_SDK_VERSION. The raw value returned by the service is available from
desiredStateAsString().
ModelStatepublic 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, desiredState will
return ModelState.UNKNOWN_TO_SDK_VERSION. The raw value returned by the service is available from
desiredStateAsString().
ModelStatepublic 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, state will return
ModelState.UNKNOWN_TO_SDK_VERSION. The raw value returned by the service is available from
stateAsString().
ModelStatepublic 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, state will return
ModelState.UNKNOWN_TO_SDK_VERSION. The raw value returned by the service is available from
stateAsString().
ModelStatepublic 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, status will
return DeploymentStatus.UNKNOWN_TO_SDK_VERSION. The raw value returned by the service is available from
statusAsString().
DeploymentStatuspublic 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, status will
return DeploymentStatus.UNKNOWN_TO_SDK_VERSION. The raw value returned by the service is available from
statusAsString().
DeploymentStatuspublic final String statusReason()
Returns the error message for the deployment status result.
public final String rollbackFailureReason()
Returns the error message if there is a rollback.
public DeploymentModel.Builder toBuilder()
toBuilder in interface ToCopyableBuilder<DeploymentModel.Builder,DeploymentModel>public static DeploymentModel.Builder builder()
public static Class<? extends DeploymentModel.Builder> serializableBuilderClass()
public final boolean equalsBySdkFields(Object obj)
equalsBySdkFields in interface SdkPojopublic final String toString()
Copyright © 2023. All rights reserved.