@Generated(value="com.amazonaws:aws-java-sdk-code-generator") public class RuleGroupsNamespaceDescription extends Object implements Serializable, Cloneable, StructuredPojo
Represents a description of the 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 Amazon Resource Name (ARN) of this rule groups namespace.
|
Date |
getCreatedAt()
The time when the rule groups namespace was created.
|
ByteBuffer |
getData()
The rule groups namespace data.
|
Date |
getModifiedAt()
The time when the rule groups namespace was modified.
|
String |
getName()
The rule groups namespace name.
|
RuleGroupsNamespaceStatus |
getStatus()
The status of rule groups namespace.
|
Map<String,String> |
getTags()
The tags of this rule groups namespace.
|
int |
hashCode() |
void |
marshall(ProtocolMarshaller protocolMarshaller)
Marshalls this structured data using the given
ProtocolMarshaller . |
void |
setArn(String arn)
The Amazon Resource Name (ARN) of this rule groups namespace.
|
void |
setCreatedAt(Date createdAt)
The time when the rule groups namespace was created.
|
void |
setData(ByteBuffer data)
The rule groups namespace data.
|
void |
setModifiedAt(Date modifiedAt)
The time when the rule groups namespace was modified.
|
void |
setName(String name)
The rule groups namespace name.
|
void |
setStatus(RuleGroupsNamespaceStatus status)
The status of rule groups namespace.
|
void |
setTags(Map<String,String> tags)
The tags of this rule groups namespace.
|
String |
toString()
Returns a string representation of this object.
|
RuleGroupsNamespaceDescription |
withArn(String arn)
The Amazon Resource Name (ARN) of this rule groups namespace.
|
RuleGroupsNamespaceDescription |
withCreatedAt(Date createdAt)
The time when the rule groups namespace was created.
|
RuleGroupsNamespaceDescription |
withData(ByteBuffer data)
The rule groups namespace data.
|
RuleGroupsNamespaceDescription |
withModifiedAt(Date modifiedAt)
The time when the rule groups namespace was modified.
|
RuleGroupsNamespaceDescription |
withName(String name)
The rule groups namespace name.
|
RuleGroupsNamespaceDescription |
withStatus(RuleGroupsNamespaceStatus status)
The status of rule groups namespace.
|
RuleGroupsNamespaceDescription |
withTags(Map<String,String> tags)
The tags of this rule groups namespace.
|
public void setArn(String arn)
The Amazon Resource Name (ARN) of this rule groups namespace.
arn
- The Amazon Resource Name (ARN) of this rule groups namespace.public String getArn()
The Amazon Resource Name (ARN) of this rule groups namespace.
public RuleGroupsNamespaceDescription withArn(String arn)
The Amazon Resource Name (ARN) of this rule groups namespace.
arn
- The Amazon Resource Name (ARN) of this rule groups namespace.public void setCreatedAt(Date createdAt)
The time when the rule groups namespace was created.
createdAt
- The time when the rule groups namespace was created.public Date getCreatedAt()
The time when the rule groups namespace was created.
public RuleGroupsNamespaceDescription withCreatedAt(Date createdAt)
The time when the rule groups namespace was created.
createdAt
- The time when the rule groups namespace was created.public void setData(ByteBuffer data)
The rule groups namespace data.
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 namespace data.public ByteBuffer getData()
The rule groups namespace data.
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
.
public RuleGroupsNamespaceDescription withData(ByteBuffer data)
The rule groups namespace data.
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 namespace data.public void setModifiedAt(Date modifiedAt)
The time when the rule groups namespace was modified.
modifiedAt
- The time when the rule groups namespace was modified.public Date getModifiedAt()
The time when the rule groups namespace was modified.
public RuleGroupsNamespaceDescription withModifiedAt(Date modifiedAt)
The time when the rule groups namespace was modified.
modifiedAt
- The time when the rule groups namespace was modified.public void setName(String name)
The rule groups namespace name.
name
- The rule groups namespace name.public String getName()
The rule groups namespace name.
public RuleGroupsNamespaceDescription withName(String name)
The rule groups namespace name.
name
- The rule groups namespace name.public void setStatus(RuleGroupsNamespaceStatus status)
The status of rule groups namespace.
status
- The status of rule groups namespace.public RuleGroupsNamespaceStatus getStatus()
The status of rule groups namespace.
public RuleGroupsNamespaceDescription withStatus(RuleGroupsNamespaceStatus status)
The status of rule groups namespace.
status
- The status of rule groups namespace.public Map<String,String> getTags()
The tags of this rule groups namespace.
public void setTags(Map<String,String> tags)
The tags of this rule groups namespace.
tags
- The tags of this rule groups namespace.public RuleGroupsNamespaceDescription withTags(Map<String,String> tags)
The tags of this rule groups namespace.
tags
- The tags of this 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.