@Generated(value="com.amazonaws:aws-java-sdk-code-generator") public class ManagedPersistenceMonitoringConfiguration extends Object implements Serializable, Cloneable, StructuredPojo
The managed log persistence configuration for a job run.
Constructor and Description |
---|
ManagedPersistenceMonitoringConfiguration() |
Modifier and Type | Method and Description |
---|---|
ManagedPersistenceMonitoringConfiguration |
clone() |
boolean |
equals(Object obj) |
Boolean |
getEnabled()
Enables managed logging and defaults to true.
|
String |
getEncryptionKeyArn()
The KMS key ARN to encrypt the logs stored in managed log persistence.
|
int |
hashCode() |
Boolean |
isEnabled()
Enables managed logging and defaults to true.
|
void |
marshall(ProtocolMarshaller protocolMarshaller)
Marshalls this structured data using the given
ProtocolMarshaller . |
void |
setEnabled(Boolean enabled)
Enables managed logging and defaults to true.
|
void |
setEncryptionKeyArn(String encryptionKeyArn)
The KMS key ARN to encrypt the logs stored in managed log persistence.
|
String |
toString()
Returns a string representation of this object.
|
ManagedPersistenceMonitoringConfiguration |
withEnabled(Boolean enabled)
Enables managed logging and defaults to true.
|
ManagedPersistenceMonitoringConfiguration |
withEncryptionKeyArn(String encryptionKeyArn)
The KMS key ARN to encrypt the logs stored in managed log persistence.
|
public ManagedPersistenceMonitoringConfiguration()
public void setEnabled(Boolean enabled)
Enables managed logging and defaults to true. If set to false, managed logging will be turned off.
enabled
- Enables managed logging and defaults to true. If set to false, managed logging will be turned off.public Boolean getEnabled()
Enables managed logging and defaults to true. If set to false, managed logging will be turned off.
public ManagedPersistenceMonitoringConfiguration withEnabled(Boolean enabled)
Enables managed logging and defaults to true. If set to false, managed logging will be turned off.
enabled
- Enables managed logging and defaults to true. If set to false, managed logging will be turned off.public Boolean isEnabled()
Enables managed logging and defaults to true. If set to false, managed logging will be turned off.
public void setEncryptionKeyArn(String encryptionKeyArn)
The KMS key ARN to encrypt the logs stored in managed log persistence.
encryptionKeyArn
- The KMS key ARN to encrypt the logs stored in managed log persistence.public String getEncryptionKeyArn()
The KMS key ARN to encrypt the logs stored in managed log persistence.
public ManagedPersistenceMonitoringConfiguration withEncryptionKeyArn(String encryptionKeyArn)
The KMS key ARN to encrypt the logs stored in managed log persistence.
encryptionKeyArn
- The KMS key ARN to encrypt the logs stored in managed log persistence.public String toString()
toString
in class Object
Object.toString()
public ManagedPersistenceMonitoringConfiguration clone()
public void marshall(ProtocolMarshaller protocolMarshaller)
StructuredPojo
ProtocolMarshaller
.marshall
in interface StructuredPojo
protocolMarshaller
- Implementation of ProtocolMarshaller
used to marshall this object's data.