@Generated(value="com.amazonaws:aws-java-sdk-code-generator") public class CisSessionMessage extends Object implements Serializable, Cloneable, StructuredPojo
The CIS session message.
| Constructor and Description |
|---|
CisSessionMessage() |
| Modifier and Type | Method and Description |
|---|---|
CisSessionMessage |
clone() |
boolean |
equals(Object obj) |
ByteBuffer |
getCisRuleDetails()
The CIS rule details for the CIS session message.
|
String |
getRuleId()
The rule ID for the CIS session message.
|
String |
getStatus()
The status of the CIS session message.
|
int |
hashCode() |
void |
marshall(ProtocolMarshaller protocolMarshaller)
Marshalls this structured data using the given
ProtocolMarshaller. |
void |
setCisRuleDetails(ByteBuffer cisRuleDetails)
The CIS rule details for the CIS session message.
|
void |
setRuleId(String ruleId)
The rule ID for the CIS session message.
|
void |
setStatus(String status)
The status of the CIS session message.
|
String |
toString()
Returns a string representation of this object.
|
CisSessionMessage |
withCisRuleDetails(ByteBuffer cisRuleDetails)
The CIS rule details for the CIS session message.
|
CisSessionMessage |
withRuleId(String ruleId)
The rule ID for the CIS session message.
|
CisSessionMessage |
withStatus(CisRuleStatus status)
The status of the CIS session message.
|
CisSessionMessage |
withStatus(String status)
The status of the CIS session message.
|
public void setCisRuleDetails(ByteBuffer cisRuleDetails)
The CIS rule details for the CIS session message.
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.
cisRuleDetails - The CIS rule details for the CIS session message.public ByteBuffer getCisRuleDetails()
The CIS rule details for the CIS session message.
ByteBuffers 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 CisSessionMessage withCisRuleDetails(ByteBuffer cisRuleDetails)
The CIS rule details for the CIS session message.
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.
cisRuleDetails - The CIS rule details for the CIS session message.public void setRuleId(String ruleId)
The rule ID for the CIS session message.
ruleId - The rule ID for the CIS session message.public String getRuleId()
The rule ID for the CIS session message.
public CisSessionMessage withRuleId(String ruleId)
The rule ID for the CIS session message.
ruleId - The rule ID for the CIS session message.public void setStatus(String status)
The status of the CIS session message.
status - The status of the CIS session message.CisRuleStatuspublic String getStatus()
The status of the CIS session message.
CisRuleStatuspublic CisSessionMessage withStatus(String status)
The status of the CIS session message.
status - The status of the CIS session message.CisRuleStatuspublic CisSessionMessage withStatus(CisRuleStatus status)
The status of the CIS session message.
status - The status of the CIS session message.CisRuleStatuspublic String toString()
toString in class ObjectObject.toString()public CisSessionMessage clone()
public void marshall(ProtocolMarshaller protocolMarshaller)
StructuredPojoProtocolMarshaller.marshall in interface StructuredPojoprotocolMarshaller - Implementation of ProtocolMarshaller used to marshall this object's data.