@Generated(value="com.amazonaws:aws-java-sdk-code-generator") public class RuleGroupsNamespaceStatus extends Object implements Serializable, Cloneable, StructuredPojo
Represents the status of a namespace.
| Constructor and Description |
|---|
RuleGroupsNamespaceStatus() |
| Modifier and Type | Method and Description |
|---|---|
RuleGroupsNamespaceStatus |
clone() |
boolean |
equals(Object obj) |
String |
getStatusCode()
Status code of this namespace.
|
String |
getStatusReason()
The reason for failure if any.
|
int |
hashCode() |
void |
marshall(ProtocolMarshaller protocolMarshaller) |
void |
setStatusCode(String statusCode)
Status code of this namespace.
|
void |
setStatusReason(String statusReason)
The reason for failure if any.
|
String |
toString()
Returns a string representation of this object.
|
RuleGroupsNamespaceStatus |
withStatusCode(RuleGroupsNamespaceStatusCode statusCode)
Status code of this namespace.
|
RuleGroupsNamespaceStatus |
withStatusCode(String statusCode)
Status code of this namespace.
|
RuleGroupsNamespaceStatus |
withStatusReason(String statusReason)
The reason for failure if any.
|
public void setStatusCode(String statusCode)
Status code of this namespace.
statusCode - Status code of this namespace.RuleGroupsNamespaceStatusCodepublic String getStatusCode()
Status code of this namespace.
RuleGroupsNamespaceStatusCodepublic RuleGroupsNamespaceStatus withStatusCode(String statusCode)
Status code of this namespace.
statusCode - Status code of this namespace.RuleGroupsNamespaceStatusCodepublic RuleGroupsNamespaceStatus withStatusCode(RuleGroupsNamespaceStatusCode statusCode)
Status code of this namespace.
statusCode - Status code of this namespace.RuleGroupsNamespaceStatusCodepublic void setStatusReason(String statusReason)
The reason for failure if any.
statusReason - The reason for failure if any.public String getStatusReason()
The reason for failure if any.
public RuleGroupsNamespaceStatus withStatusReason(String statusReason)
The reason for failure if any.
statusReason - The reason for failure if any.public String toString()
toString in class ObjectObject.toString()public RuleGroupsNamespaceStatus clone()
public void marshall(ProtocolMarshaller protocolMarshaller)
marshall in interface StructuredPojoCopyright © 2023. All rights reserved.