@Generated(value="com.amazonaws:aws-java-sdk-code-generator") public class AwsElasticsearchDomainLogPublishingOptions extends Object implements Serializable, Cloneable, StructuredPojo
configures the CloudWatch Logs to publish for the Elasticsearch domain.
Constructor and Description |
---|
AwsElasticsearchDomainLogPublishingOptions() |
public AwsElasticsearchDomainLogPublishingOptions()
public void setIndexSlowLogs(AwsElasticsearchDomainLogPublishingOptionsLogConfig indexSlowLogs)
Configures the OpenSearch index logs publishing.
indexSlowLogs
- Configures the OpenSearch index logs publishing.public AwsElasticsearchDomainLogPublishingOptionsLogConfig getIndexSlowLogs()
Configures the OpenSearch index logs publishing.
public AwsElasticsearchDomainLogPublishingOptions withIndexSlowLogs(AwsElasticsearchDomainLogPublishingOptionsLogConfig indexSlowLogs)
Configures the OpenSearch index logs publishing.
indexSlowLogs
- Configures the OpenSearch index logs publishing.public void setSearchSlowLogs(AwsElasticsearchDomainLogPublishingOptionsLogConfig searchSlowLogs)
Configures the OpenSearch search slow log publishing.
searchSlowLogs
- Configures the OpenSearch search slow log publishing.public AwsElasticsearchDomainLogPublishingOptionsLogConfig getSearchSlowLogs()
Configures the OpenSearch search slow log publishing.
public AwsElasticsearchDomainLogPublishingOptions withSearchSlowLogs(AwsElasticsearchDomainLogPublishingOptionsLogConfig searchSlowLogs)
Configures the OpenSearch search slow log publishing.
searchSlowLogs
- Configures the OpenSearch search slow log publishing.public void setAuditLogs(AwsElasticsearchDomainLogPublishingOptionsLogConfig auditLogs)
auditLogs
- public AwsElasticsearchDomainLogPublishingOptionsLogConfig getAuditLogs()
public AwsElasticsearchDomainLogPublishingOptions withAuditLogs(AwsElasticsearchDomainLogPublishingOptionsLogConfig auditLogs)
auditLogs
- public String toString()
toString
in class Object
Object.toString()
public AwsElasticsearchDomainLogPublishingOptions clone()
public void marshall(ProtocolMarshaller protocolMarshaller)
StructuredPojo
ProtocolMarshaller
.marshall
in interface StructuredPojo
protocolMarshaller
- Implementation of ProtocolMarshaller
used to marshall this object's data.