@Generated(value="com.amazonaws:aws-java-sdk-code-generator") public class CloudComponentStatus extends Object implements Serializable, Cloneable, StructuredPojo
Contains the status of a component version in the IoT Greengrass service.
Constructor and Description |
---|
CloudComponentStatus() |
Modifier and Type | Method and Description |
---|---|
CloudComponentStatus |
addErrorsEntry(String key,
String value)
Add a single Errors entry
|
CloudComponentStatus |
clearErrorsEntries()
Removes all the entries added into Errors.
|
CloudComponentStatus |
clone() |
boolean |
equals(Object obj) |
String |
getComponentState()
The state of the component version.
|
Map<String,String> |
getErrors()
A dictionary of errors that communicate why the component version is in an error state.
|
String |
getMessage()
A message that communicates details, such as errors, about the status of the component version.
|
String |
getVendorGuidance()
The vendor guidance state for the component version.
|
String |
getVendorGuidanceMessage()
A message that communicates details about the vendor guidance state of the component version.
|
int |
hashCode() |
void |
marshall(ProtocolMarshaller protocolMarshaller)
Marshalls this structured data using the given
ProtocolMarshaller . |
void |
setComponentState(String componentState)
The state of the component version.
|
void |
setErrors(Map<String,String> errors)
A dictionary of errors that communicate why the component version is in an error state.
|
void |
setMessage(String message)
A message that communicates details, such as errors, about the status of the component version.
|
void |
setVendorGuidance(String vendorGuidance)
The vendor guidance state for the component version.
|
void |
setVendorGuidanceMessage(String vendorGuidanceMessage)
A message that communicates details about the vendor guidance state of the component version.
|
String |
toString()
Returns a string representation of this object.
|
CloudComponentStatus |
withComponentState(CloudComponentState componentState)
The state of the component version.
|
CloudComponentStatus |
withComponentState(String componentState)
The state of the component version.
|
CloudComponentStatus |
withErrors(Map<String,String> errors)
A dictionary of errors that communicate why the component version is in an error state.
|
CloudComponentStatus |
withMessage(String message)
A message that communicates details, such as errors, about the status of the component version.
|
CloudComponentStatus |
withVendorGuidance(String vendorGuidance)
The vendor guidance state for the component version.
|
CloudComponentStatus |
withVendorGuidance(VendorGuidance vendorGuidance)
The vendor guidance state for the component version.
|
CloudComponentStatus |
withVendorGuidanceMessage(String vendorGuidanceMessage)
A message that communicates details about the vendor guidance state of the component version.
|
public void setComponentState(String componentState)
The state of the component version.
componentState
- The state of the component version.CloudComponentState
public String getComponentState()
The state of the component version.
CloudComponentState
public CloudComponentStatus withComponentState(String componentState)
The state of the component version.
componentState
- The state of the component version.CloudComponentState
public CloudComponentStatus withComponentState(CloudComponentState componentState)
The state of the component version.
componentState
- The state of the component version.CloudComponentState
public void setMessage(String message)
A message that communicates details, such as errors, about the status of the component version.
message
- A message that communicates details, such as errors, about the status of the component version.public String getMessage()
A message that communicates details, such as errors, about the status of the component version.
public CloudComponentStatus withMessage(String message)
A message that communicates details, such as errors, about the status of the component version.
message
- A message that communicates details, such as errors, about the status of the component version.public Map<String,String> getErrors()
A dictionary of errors that communicate why the component version is in an error state. For example, if IoT
Greengrass can't access an artifact for the component version, then errors
contains the artifact's
URI as a key, and the error message as the value for that key.
errors
contains the
artifact's URI as a key, and the error message as the value for that key.public void setErrors(Map<String,String> errors)
A dictionary of errors that communicate why the component version is in an error state. For example, if IoT
Greengrass can't access an artifact for the component version, then errors
contains the artifact's
URI as a key, and the error message as the value for that key.
errors
- A dictionary of errors that communicate why the component version is in an error state. For example, if
IoT Greengrass can't access an artifact for the component version, then errors
contains the
artifact's URI as a key, and the error message as the value for that key.public CloudComponentStatus withErrors(Map<String,String> errors)
A dictionary of errors that communicate why the component version is in an error state. For example, if IoT
Greengrass can't access an artifact for the component version, then errors
contains the artifact's
URI as a key, and the error message as the value for that key.
errors
- A dictionary of errors that communicate why the component version is in an error state. For example, if
IoT Greengrass can't access an artifact for the component version, then errors
contains the
artifact's URI as a key, and the error message as the value for that key.public CloudComponentStatus addErrorsEntry(String key, String value)
public CloudComponentStatus clearErrorsEntries()
public void setVendorGuidance(String vendorGuidance)
The vendor guidance state for the component version. This state indicates whether the component version has any issues that you should consider before you deploy it. The vendor guidance state can be:
ACTIVE
– This component version is available and recommended for use.
DISCONTINUED
– This component version has been discontinued by its publisher. You can deploy this
component version, but we recommend that you use a different version of this component.
DELETED
– This component version has been deleted by its publisher, so you can't deploy it. If you
have any existing deployments that specify this component version, those deployments will fail.
vendorGuidance
- The vendor guidance state for the component version. This state indicates whether the component version
has any issues that you should consider before you deploy it. The vendor guidance state can be:
ACTIVE
– This component version is available and recommended for use.
DISCONTINUED
– This component version has been discontinued by its publisher. You can deploy
this component version, but we recommend that you use a different version of this component.
DELETED
– This component version has been deleted by its publisher, so you can't deploy it.
If you have any existing deployments that specify this component version, those deployments will fail.
VendorGuidance
public String getVendorGuidance()
The vendor guidance state for the component version. This state indicates whether the component version has any issues that you should consider before you deploy it. The vendor guidance state can be:
ACTIVE
– This component version is available and recommended for use.
DISCONTINUED
– This component version has been discontinued by its publisher. You can deploy this
component version, but we recommend that you use a different version of this component.
DELETED
– This component version has been deleted by its publisher, so you can't deploy it. If you
have any existing deployments that specify this component version, those deployments will fail.
ACTIVE
– This component version is available and recommended for use.
DISCONTINUED
– This component version has been discontinued by its publisher. You can deploy
this component version, but we recommend that you use a different version of this component.
DELETED
– This component version has been deleted by its publisher, so you can't deploy it.
If you have any existing deployments that specify this component version, those deployments will fail.
VendorGuidance
public CloudComponentStatus withVendorGuidance(String vendorGuidance)
The vendor guidance state for the component version. This state indicates whether the component version has any issues that you should consider before you deploy it. The vendor guidance state can be:
ACTIVE
– This component version is available and recommended for use.
DISCONTINUED
– This component version has been discontinued by its publisher. You can deploy this
component version, but we recommend that you use a different version of this component.
DELETED
– This component version has been deleted by its publisher, so you can't deploy it. If you
have any existing deployments that specify this component version, those deployments will fail.
vendorGuidance
- The vendor guidance state for the component version. This state indicates whether the component version
has any issues that you should consider before you deploy it. The vendor guidance state can be:
ACTIVE
– This component version is available and recommended for use.
DISCONTINUED
– This component version has been discontinued by its publisher. You can deploy
this component version, but we recommend that you use a different version of this component.
DELETED
– This component version has been deleted by its publisher, so you can't deploy it.
If you have any existing deployments that specify this component version, those deployments will fail.
VendorGuidance
public CloudComponentStatus withVendorGuidance(VendorGuidance vendorGuidance)
The vendor guidance state for the component version. This state indicates whether the component version has any issues that you should consider before you deploy it. The vendor guidance state can be:
ACTIVE
– This component version is available and recommended for use.
DISCONTINUED
– This component version has been discontinued by its publisher. You can deploy this
component version, but we recommend that you use a different version of this component.
DELETED
– This component version has been deleted by its publisher, so you can't deploy it. If you
have any existing deployments that specify this component version, those deployments will fail.
vendorGuidance
- The vendor guidance state for the component version. This state indicates whether the component version
has any issues that you should consider before you deploy it. The vendor guidance state can be:
ACTIVE
– This component version is available and recommended for use.
DISCONTINUED
– This component version has been discontinued by its publisher. You can deploy
this component version, but we recommend that you use a different version of this component.
DELETED
– This component version has been deleted by its publisher, so you can't deploy it.
If you have any existing deployments that specify this component version, those deployments will fail.
VendorGuidance
public void setVendorGuidanceMessage(String vendorGuidanceMessage)
A message that communicates details about the vendor guidance state of the component version. This message communicates why a component version is discontinued or deleted.
vendorGuidanceMessage
- A message that communicates details about the vendor guidance state of the component version. This message
communicates why a component version is discontinued or deleted.public String getVendorGuidanceMessage()
A message that communicates details about the vendor guidance state of the component version. This message communicates why a component version is discontinued or deleted.
public CloudComponentStatus withVendorGuidanceMessage(String vendorGuidanceMessage)
A message that communicates details about the vendor guidance state of the component version. This message communicates why a component version is discontinued or deleted.
vendorGuidanceMessage
- A message that communicates details about the vendor guidance state of the component version. This message
communicates why a component version is discontinued or deleted.public String toString()
toString
in class Object
Object.toString()
public CloudComponentStatus clone()
public void marshall(ProtocolMarshaller protocolMarshaller)
StructuredPojo
ProtocolMarshaller
.marshall
in interface StructuredPojo
protocolMarshaller
- Implementation of ProtocolMarshaller
used to marshall this object's data.