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