@Generated(value="com.amazonaws:aws-java-sdk-code-generator") public class RuleGroupsNamespaceDescription extends Object implements Serializable, Cloneable, StructuredPojo
The details about one rule groups namespace.
Constructor and Description |
---|
RuleGroupsNamespaceDescription() |
Modifier and Type | Method and Description |
---|---|
RuleGroupsNamespaceDescription |
addTagsEntry(String key,
String value)
Add a single Tags entry
|
RuleGroupsNamespaceDescription |
clearTagsEntries()
Removes all the entries added into Tags.
|
RuleGroupsNamespaceDescription |
clone() |
boolean |
equals(Object obj) |
String |
getArn()
The ARN of the rule groups namespace.
|
Date |
getCreatedAt()
The date and time that the rule groups namespace was created.
|
ByteBuffer |
getData()
The rule groups file used in the namespace.
|
Date |
getModifiedAt()
The date and time that the rule groups namespace was most recently changed.
|
String |
getName()
The name of the rule groups namespace.
|
RuleGroupsNamespaceStatus |
getStatus()
The current status of the rule groups namespace.
|
Map<String,String> |
getTags()
The list of tag keys and values that are associated with the rule groups namespace.
|
int |
hashCode() |
void |
marshall(ProtocolMarshaller protocolMarshaller)
Marshalls this structured data using the given
ProtocolMarshaller . |
void |
setArn(String arn)
The ARN of the rule groups namespace.
|
void |
setCreatedAt(Date createdAt)
The date and time that the rule groups namespace was created.
|
void |
setData(ByteBuffer data)
The rule groups file used in the namespace.
|
void |
setModifiedAt(Date modifiedAt)
The date and time that the rule groups namespace was most recently changed.
|
void |
setName(String name)
The name of the rule groups namespace.
|
void |
setStatus(RuleGroupsNamespaceStatus status)
The current status of the rule groups namespace.
|
void |
setTags(Map<String,String> tags)
The list of tag keys and values that are associated with the rule groups namespace.
|
String |
toString()
Returns a string representation of this object.
|
RuleGroupsNamespaceDescription |
withArn(String arn)
The ARN of the rule groups namespace.
|
RuleGroupsNamespaceDescription |
withCreatedAt(Date createdAt)
The date and time that the rule groups namespace was created.
|
RuleGroupsNamespaceDescription |
withData(ByteBuffer data)
The rule groups file used in the namespace.
|
RuleGroupsNamespaceDescription |
withModifiedAt(Date modifiedAt)
The date and time that the rule groups namespace was most recently changed.
|
RuleGroupsNamespaceDescription |
withName(String name)
The name of the rule groups namespace.
|
RuleGroupsNamespaceDescription |
withStatus(RuleGroupsNamespaceStatus status)
The current status of the rule groups namespace.
|
RuleGroupsNamespaceDescription |
withTags(Map<String,String> tags)
The list of tag keys and values that are associated with the rule groups namespace.
|
public void setArn(String arn)
The ARN of the rule groups namespace.
arn
- The ARN of the rule groups namespace.public String getArn()
The ARN of the rule groups namespace.
public RuleGroupsNamespaceDescription withArn(String arn)
The ARN of the rule groups namespace.
arn
- The ARN of the rule groups namespace.public void setCreatedAt(Date createdAt)
The date and time that the rule groups namespace was created.
createdAt
- The date and time that the rule groups namespace was created.public Date getCreatedAt()
The date and time that the rule groups namespace was created.
public RuleGroupsNamespaceDescription withCreatedAt(Date createdAt)
The date and time that the rule groups namespace was created.
createdAt
- The date and time that the rule groups namespace was created.public void setData(ByteBuffer data)
The rule groups file used in the namespace.
For details about the rule groups namespace structure, see RuleGroupsNamespaceData.
The AWS SDK for Java performs a Base64 encoding on this field before sending this request to the AWS service. Users of the SDK should not perform Base64 encoding on this field.
Warning: ByteBuffers returned by the SDK are mutable. Changes to the content or position of the byte buffer will be seen by all objects that have a reference to this object. It is recommended to call ByteBuffer.duplicate() or ByteBuffer.asReadOnlyBuffer() before using or reading from the buffer. This behavior will be changed in a future major version of the SDK.
data
- The rule groups file used in the namespace.
For details about the rule groups namespace structure, see RuleGroupsNamespaceData.
public ByteBuffer getData()
The rule groups file used in the namespace.
For details about the rule groups namespace structure, see RuleGroupsNamespaceData.
ByteBuffer
s are stateful. Calling their get
methods changes their position
. We recommend
using ByteBuffer.asReadOnlyBuffer()
to create a read-only view of the buffer with an independent
position
, and calling get
methods on this rather than directly on the returned ByteBuffer
.
Doing so will ensure that anyone else using the ByteBuffer
will not be affected by changes to the
position
.
For details about the rule groups namespace structure, see RuleGroupsNamespaceData.
public RuleGroupsNamespaceDescription withData(ByteBuffer data)
The rule groups file used in the namespace.
For details about the rule groups namespace structure, see RuleGroupsNamespaceData.
The AWS SDK for Java performs a Base64 encoding on this field before sending this request to the AWS service. Users of the SDK should not perform Base64 encoding on this field.
Warning: ByteBuffers returned by the SDK are mutable. Changes to the content or position of the byte buffer will be seen by all objects that have a reference to this object. It is recommended to call ByteBuffer.duplicate() or ByteBuffer.asReadOnlyBuffer() before using or reading from the buffer. This behavior will be changed in a future major version of the SDK.
data
- The rule groups file used in the namespace.
For details about the rule groups namespace structure, see RuleGroupsNamespaceData.
public void setModifiedAt(Date modifiedAt)
The date and time that the rule groups namespace was most recently changed.
modifiedAt
- The date and time that the rule groups namespace was most recently changed.public Date getModifiedAt()
The date and time that the rule groups namespace was most recently changed.
public RuleGroupsNamespaceDescription withModifiedAt(Date modifiedAt)
The date and time that the rule groups namespace was most recently changed.
modifiedAt
- The date and time that the rule groups namespace was most recently changed.public void setName(String name)
The name of the rule groups namespace.
name
- The name of the rule groups namespace.public String getName()
The name of the rule groups namespace.
public RuleGroupsNamespaceDescription withName(String name)
The name of the rule groups namespace.
name
- The name of the rule groups namespace.public void setStatus(RuleGroupsNamespaceStatus status)
The current status of the rule groups namespace.
status
- The current status of the rule groups namespace.public RuleGroupsNamespaceStatus getStatus()
The current status of the rule groups namespace.
public RuleGroupsNamespaceDescription withStatus(RuleGroupsNamespaceStatus status)
The current status of the rule groups namespace.
status
- The current status of the rule groups namespace.public Map<String,String> getTags()
The list of tag keys and values that are associated with the rule groups namespace.
public void setTags(Map<String,String> tags)
The list of tag keys and values that are associated with the rule groups namespace.
tags
- The list of tag keys and values that are associated with the rule groups namespace.public RuleGroupsNamespaceDescription withTags(Map<String,String> tags)
The list of tag keys and values that are associated with the rule groups namespace.
tags
- The list of tag keys and values that are associated with the rule groups namespace.public RuleGroupsNamespaceDescription addTagsEntry(String key, String value)
public RuleGroupsNamespaceDescription clearTagsEntries()
public String toString()
toString
in class Object
Object.toString()
public RuleGroupsNamespaceDescription clone()
public void marshall(ProtocolMarshaller protocolMarshaller)
StructuredPojo
ProtocolMarshaller
.marshall
in interface StructuredPojo
protocolMarshaller
- Implementation of ProtocolMarshaller
used to marshall this object's data.