@Generated(value="software.amazon.awssdk:codegen") public final class GetDeploymentStatusResponse extends GreengrassResponse implements ToCopyableBuilder<GetDeploymentStatusResponse.Builder,GetDeploymentStatusResponse>
| Modifier and Type | Class and Description |
|---|---|
static interface |
GetDeploymentStatusResponse.Builder |
| Modifier and Type | Method and Description |
|---|---|
static GetDeploymentStatusResponse.Builder |
builder() |
String |
deploymentStatus()
The status of the deployment: ''InProgress'', ''Building'', ''Success'', or ''Failure''.
|
DeploymentType |
deploymentType()
The type of the deployment.
|
String |
deploymentTypeAsString()
The type of the deployment.
|
boolean |
equals(Object obj) |
boolean |
equalsBySdkFields(Object obj) |
List<ErrorDetail> |
errorDetails()
Error details
|
String |
errorMessage()
Error message
|
<T> Optional<T> |
getValueForField(String fieldName,
Class<T> clazz) |
boolean |
hasErrorDetails()
Returns true if the ErrorDetails property was specified by the sender (it may be empty), or false if the sender
did not specify the value (it will be empty).
|
int |
hashCode() |
List<SdkField<?>> |
sdkFields() |
static Class<? extends GetDeploymentStatusResponse.Builder> |
serializableBuilderClass() |
GetDeploymentStatusResponse.Builder |
toBuilder() |
String |
toString()
Returns a string representation of this object.
|
String |
updatedAt()
The time, in milliseconds since the epoch, when the deployment status was updated.
|
responseMetadatasdkHttpResponseclone, finalize, getClass, notify, notifyAll, wait, wait, waitcopypublic final String deploymentStatus()
public final DeploymentType deploymentType()
If the service returns an enum value that is not available in the current SDK version, deploymentType
will return DeploymentType.UNKNOWN_TO_SDK_VERSION. The raw value returned by the service is available
from deploymentTypeAsString().
DeploymentTypepublic final String deploymentTypeAsString()
If the service returns an enum value that is not available in the current SDK version, deploymentType
will return DeploymentType.UNKNOWN_TO_SDK_VERSION. The raw value returned by the service is available
from deploymentTypeAsString().
DeploymentTypepublic final boolean hasErrorDetails()
public final List<ErrorDetail> errorDetails()
Attempts to modify the collection returned by this method will result in an UnsupportedOperationException.
You can use hasErrorDetails() to see if a value was sent in this field.
public final String errorMessage()
public final String updatedAt()
public GetDeploymentStatusResponse.Builder toBuilder()
toBuilder in interface ToCopyableBuilder<GetDeploymentStatusResponse.Builder,GetDeploymentStatusResponse>toBuilder in class AwsResponsepublic static GetDeploymentStatusResponse.Builder builder()
public static Class<? extends GetDeploymentStatusResponse.Builder> serializableBuilderClass()
public final int hashCode()
hashCode in class AwsResponsepublic final boolean equals(Object obj)
equals in class AwsResponsepublic final boolean equalsBySdkFields(Object obj)
equalsBySdkFields in interface SdkPojopublic final String toString()
public final <T> Optional<T> getValueForField(String fieldName, Class<T> clazz)
getValueForField in class SdkResponseCopyright © 2021. All rights reserved.