@Generated(value="com.amazonaws:aws-java-sdk-code-generator") public class ConfigurationStatus extends Object implements Serializable, Cloneable, StructuredPojo
Contains current status information for the configuration.
| Constructor and Description |
|---|
ConfigurationStatus() |
| Modifier and Type | Method and Description |
|---|---|
ConfigurationStatus |
clone() |
boolean |
equals(Object obj) |
ConfigurationErrorDetails |
getError()
Contains associated error information, if any.
|
String |
getState()
The current state of the configuration.
|
int |
hashCode() |
void |
marshall(ProtocolMarshaller protocolMarshaller)
Marshalls this structured data using the given
ProtocolMarshaller. |
void |
setError(ConfigurationErrorDetails error)
Contains associated error information, if any.
|
void |
setState(String state)
The current state of the configuration.
|
String |
toString()
Returns a string representation of this object.
|
ConfigurationStatus |
withError(ConfigurationErrorDetails error)
Contains associated error information, if any.
|
ConfigurationStatus |
withState(ConfigurationState state)
The current state of the configuration.
|
ConfigurationStatus |
withState(String state)
The current state of the configuration.
|
public void setState(String state)
The current state of the configuration.
state - The current state of the configuration.ConfigurationStatepublic String getState()
The current state of the configuration.
ConfigurationStatepublic ConfigurationStatus withState(String state)
The current state of the configuration.
state - The current state of the configuration.ConfigurationStatepublic ConfigurationStatus withState(ConfigurationState state)
The current state of the configuration.
state - The current state of the configuration.ConfigurationStatepublic void setError(ConfigurationErrorDetails error)
Contains associated error information, if any.
error - Contains associated error information, if any.public ConfigurationErrorDetails getError()
Contains associated error information, if any.
public ConfigurationStatus withError(ConfigurationErrorDetails error)
Contains associated error information, if any.
error - Contains associated error information, if any.public String toString()
toString in class ObjectObject.toString()public ConfigurationStatus clone()
public void marshall(ProtocolMarshaller protocolMarshaller)
StructuredPojoProtocolMarshaller.marshall in interface StructuredPojoprotocolMarshaller - Implementation of ProtocolMarshaller used to marshall this object's data.