@Generated(value="com.amazonaws:aws-java-sdk-code-generator") public class EffectiveDeploymentStatusDetails extends Object implements Serializable, Cloneable, StructuredPojo
Contains all error-related information for the deployment record. The status details will be null if the deployment is in a success state.
Greengrass nucleus v2.8.0 or later is required to get an accurate errorStack
and errorTypes
response. This field will not be returned for earlier Greengrass nucleus versions.
Constructor and Description |
---|
EffectiveDeploymentStatusDetails() |
Modifier and Type | Method and Description |
---|---|
EffectiveDeploymentStatusDetails |
clone() |
boolean |
equals(Object obj) |
List<String> |
getErrorStack()
Contains an ordered list of short error codes that range from the most generic error to the most specific one.
|
List<String> |
getErrorTypes()
Contains tags which describe the error.
|
int |
hashCode() |
void |
marshall(ProtocolMarshaller protocolMarshaller)
Marshalls this structured data using the given
ProtocolMarshaller . |
void |
setErrorStack(Collection<String> errorStack)
Contains an ordered list of short error codes that range from the most generic error to the most specific one.
|
void |
setErrorTypes(Collection<String> errorTypes)
Contains tags which describe the error.
|
String |
toString()
Returns a string representation of this object.
|
EffectiveDeploymentStatusDetails |
withErrorStack(Collection<String> errorStack)
Contains an ordered list of short error codes that range from the most generic error to the most specific one.
|
EffectiveDeploymentStatusDetails |
withErrorStack(String... errorStack)
Contains an ordered list of short error codes that range from the most generic error to the most specific one.
|
EffectiveDeploymentStatusDetails |
withErrorTypes(Collection<String> errorTypes)
Contains tags which describe the error.
|
EffectiveDeploymentStatusDetails |
withErrorTypes(String... errorTypes)
Contains tags which describe the error.
|
public List<String> getErrorStack()
Contains an ordered list of short error codes that range from the most generic error to the most specific one.
The error codes describe the reason for failure whenever the coreDeviceExecutionStatus
is in a
failed state. The response will be an empty list if there is no error.
coreDeviceExecutionStatus
is in a failed state. The response will be an empty list if there is no error.public void setErrorStack(Collection<String> errorStack)
Contains an ordered list of short error codes that range from the most generic error to the most specific one.
The error codes describe the reason for failure whenever the coreDeviceExecutionStatus
is in a
failed state. The response will be an empty list if there is no error.
errorStack
- Contains an ordered list of short error codes that range from the most generic error to the most specific
one. The error codes describe the reason for failure whenever the coreDeviceExecutionStatus
is in a failed state. The response will be an empty list if there is no error.public EffectiveDeploymentStatusDetails withErrorStack(String... errorStack)
Contains an ordered list of short error codes that range from the most generic error to the most specific one.
The error codes describe the reason for failure whenever the coreDeviceExecutionStatus
is in a
failed state. The response will be an empty list if there is no error.
NOTE: This method appends the values to the existing list (if any). Use
setErrorStack(java.util.Collection)
or withErrorStack(java.util.Collection)
if you want to
override the existing values.
errorStack
- Contains an ordered list of short error codes that range from the most generic error to the most specific
one. The error codes describe the reason for failure whenever the coreDeviceExecutionStatus
is in a failed state. The response will be an empty list if there is no error.public EffectiveDeploymentStatusDetails withErrorStack(Collection<String> errorStack)
Contains an ordered list of short error codes that range from the most generic error to the most specific one.
The error codes describe the reason for failure whenever the coreDeviceExecutionStatus
is in a
failed state. The response will be an empty list if there is no error.
errorStack
- Contains an ordered list of short error codes that range from the most generic error to the most specific
one. The error codes describe the reason for failure whenever the coreDeviceExecutionStatus
is in a failed state. The response will be an empty list if there is no error.public List<String> getErrorTypes()
Contains tags which describe the error. You can use the error types to classify errors to assist with remediating the failure. The response will be an empty list if there is no error.
public void setErrorTypes(Collection<String> errorTypes)
Contains tags which describe the error. You can use the error types to classify errors to assist with remediating the failure. The response will be an empty list if there is no error.
errorTypes
- Contains tags which describe the error. You can use the error types to classify errors to assist with
remediating the failure. The response will be an empty list if there is no error.public EffectiveDeploymentStatusDetails withErrorTypes(String... errorTypes)
Contains tags which describe the error. You can use the error types to classify errors to assist with remediating the failure. The response will be an empty list if there is no error.
NOTE: This method appends the values to the existing list (if any). Use
setErrorTypes(java.util.Collection)
or withErrorTypes(java.util.Collection)
if you want to
override the existing values.
errorTypes
- Contains tags which describe the error. You can use the error types to classify errors to assist with
remediating the failure. The response will be an empty list if there is no error.public EffectiveDeploymentStatusDetails withErrorTypes(Collection<String> errorTypes)
Contains tags which describe the error. You can use the error types to classify errors to assist with remediating the failure. The response will be an empty list if there is no error.
errorTypes
- Contains tags which describe the error. You can use the error types to classify errors to assist with
remediating the failure. The response will be an empty list if there is no error.public String toString()
toString
in class Object
Object.toString()
public EffectiveDeploymentStatusDetails clone()
public void marshall(ProtocolMarshaller protocolMarshaller)
StructuredPojo
ProtocolMarshaller
.marshall
in interface StructuredPojo
protocolMarshaller
- Implementation of ProtocolMarshaller
used to marshall this object's data.