@Generated(value="com.amazonaws:aws-java-sdk-code-generator") public class RuleGroupsNamespaceStatus extends Object implements Serializable, Cloneable, StructuredPojo
The status information about a rule groups namespace.
Constructor and Description |
---|
RuleGroupsNamespaceStatus() |
Modifier and Type | Method and Description |
---|---|
RuleGroupsNamespaceStatus |
clone() |
boolean |
equals(Object obj) |
String |
getStatusCode()
The current status of the namespace.
|
String |
getStatusReason()
The reason for the failure, if any.
|
int |
hashCode() |
void |
marshall(ProtocolMarshaller protocolMarshaller)
Marshalls this structured data using the given
ProtocolMarshaller . |
void |
setStatusCode(String statusCode)
The current status of the namespace.
|
void |
setStatusReason(String statusReason)
The reason for the failure, if any.
|
String |
toString()
Returns a string representation of this object.
|
RuleGroupsNamespaceStatus |
withStatusCode(RuleGroupsNamespaceStatusCode statusCode)
The current status of the namespace.
|
RuleGroupsNamespaceStatus |
withStatusCode(String statusCode)
The current status of the namespace.
|
RuleGroupsNamespaceStatus |
withStatusReason(String statusReason)
The reason for the failure, if any.
|
public void setStatusCode(String statusCode)
The current status of the namespace.
statusCode
- The current status of the namespace.RuleGroupsNamespaceStatusCode
public String getStatusCode()
The current status of the namespace.
RuleGroupsNamespaceStatusCode
public RuleGroupsNamespaceStatus withStatusCode(String statusCode)
The current status of the namespace.
statusCode
- The current status of the namespace.RuleGroupsNamespaceStatusCode
public RuleGroupsNamespaceStatus withStatusCode(RuleGroupsNamespaceStatusCode statusCode)
The current status of the namespace.
statusCode
- The current status of the namespace.RuleGroupsNamespaceStatusCode
public void setStatusReason(String statusReason)
The reason for the failure, if any.
statusReason
- The reason for the failure, if any.public String getStatusReason()
The reason for the failure, if any.
public RuleGroupsNamespaceStatus withStatusReason(String statusReason)
The reason for the failure, if any.
statusReason
- The reason for the failure, if any.public String toString()
toString
in class Object
Object.toString()
public RuleGroupsNamespaceStatus clone()
public void marshall(ProtocolMarshaller protocolMarshaller)
StructuredPojo
ProtocolMarshaller
.marshall
in interface StructuredPojo
protocolMarshaller
- Implementation of ProtocolMarshaller
used to marshall this object's data.