@Generated(value="com.amazonaws:aws-java-sdk-code-generator") public class NodeToNodeEncryptionOptions extends Object implements Serializable, Cloneable, StructuredPojo
Enables or disables node-to-node encryption. For more information, see Node-to-node encryption for Amazon OpenSearch Service.
Constructor and Description |
---|
NodeToNodeEncryptionOptions() |
Modifier and Type | Method and Description |
---|---|
NodeToNodeEncryptionOptions |
clone() |
boolean |
equals(Object obj) |
Boolean |
getEnabled()
True to enable node-to-node encryption.
|
int |
hashCode() |
Boolean |
isEnabled()
True to enable node-to-node encryption.
|
void |
marshall(ProtocolMarshaller protocolMarshaller)
Marshalls this structured data using the given
ProtocolMarshaller . |
void |
setEnabled(Boolean enabled)
True to enable node-to-node encryption.
|
String |
toString()
Returns a string representation of this object.
|
NodeToNodeEncryptionOptions |
withEnabled(Boolean enabled)
True to enable node-to-node encryption.
|
public void setEnabled(Boolean enabled)
True to enable node-to-node encryption.
enabled
- True to enable node-to-node encryption.public Boolean getEnabled()
True to enable node-to-node encryption.
public NodeToNodeEncryptionOptions withEnabled(Boolean enabled)
True to enable node-to-node encryption.
enabled
- True to enable node-to-node encryption.public Boolean isEnabled()
True to enable node-to-node encryption.
public String toString()
toString
in class Object
Object.toString()
public NodeToNodeEncryptionOptions clone()
public void marshall(ProtocolMarshaller protocolMarshaller)
StructuredPojo
ProtocolMarshaller
.marshall
in interface StructuredPojo
protocolMarshaller
- Implementation of ProtocolMarshaller
used to marshall this object's data.