@Generated(value="com.amazonaws:aws-java-sdk-code-generator") public class AwsElasticsearchDomainLogPublishingOptionsLogConfig extends Object implements Serializable, Cloneable, StructuredPojo
The log configuration.
| Constructor and Description |
|---|
AwsElasticsearchDomainLogPublishingOptionsLogConfig() |
| Modifier and Type | Method and Description |
|---|---|
AwsElasticsearchDomainLogPublishingOptionsLogConfig |
clone() |
boolean |
equals(Object obj) |
String |
getCloudWatchLogsLogGroupArn()
The ARN of the CloudWatch Logs group to publish the logs to.
|
Boolean |
getEnabled()
Whether the log publishing is enabled.
|
int |
hashCode() |
Boolean |
isEnabled()
Whether the log publishing is enabled.
|
void |
marshall(ProtocolMarshaller protocolMarshaller)
Marshalls this structured data using the given
ProtocolMarshaller. |
void |
setCloudWatchLogsLogGroupArn(String cloudWatchLogsLogGroupArn)
The ARN of the CloudWatch Logs group to publish the logs to.
|
void |
setEnabled(Boolean enabled)
Whether the log publishing is enabled.
|
String |
toString()
Returns a string representation of this object.
|
AwsElasticsearchDomainLogPublishingOptionsLogConfig |
withCloudWatchLogsLogGroupArn(String cloudWatchLogsLogGroupArn)
The ARN of the CloudWatch Logs group to publish the logs to.
|
AwsElasticsearchDomainLogPublishingOptionsLogConfig |
withEnabled(Boolean enabled)
Whether the log publishing is enabled.
|
public AwsElasticsearchDomainLogPublishingOptionsLogConfig()
public void setCloudWatchLogsLogGroupArn(String cloudWatchLogsLogGroupArn)
The ARN of the CloudWatch Logs group to publish the logs to.
cloudWatchLogsLogGroupArn - The ARN of the CloudWatch Logs group to publish the logs to.public String getCloudWatchLogsLogGroupArn()
The ARN of the CloudWatch Logs group to publish the logs to.
public AwsElasticsearchDomainLogPublishingOptionsLogConfig withCloudWatchLogsLogGroupArn(String cloudWatchLogsLogGroupArn)
The ARN of the CloudWatch Logs group to publish the logs to.
cloudWatchLogsLogGroupArn - The ARN of the CloudWatch Logs group to publish the logs to.public void setEnabled(Boolean enabled)
Whether the log publishing is enabled.
enabled - Whether the log publishing is enabled.public Boolean getEnabled()
Whether the log publishing is enabled.
public AwsElasticsearchDomainLogPublishingOptionsLogConfig withEnabled(Boolean enabled)
Whether the log publishing is enabled.
enabled - Whether the log publishing is enabled.public Boolean isEnabled()
Whether the log publishing is enabled.
public String toString()
toString in class ObjectObject.toString()public AwsElasticsearchDomainLogPublishingOptionsLogConfig clone()
public void marshall(ProtocolMarshaller protocolMarshaller)
StructuredPojoProtocolMarshaller.marshall in interface StructuredPojoprotocolMarshaller - Implementation of ProtocolMarshaller used to marshall this object's data.