@Generated(value="com.amazonaws:aws-java-sdk-code-generator") public class AwsOpenSearchServiceDomainLogPublishingOption extends Object implements Serializable, Cloneable, StructuredPojo
Configuration details for a log publishing option.
Constructor and Description |
---|
AwsOpenSearchServiceDomainLogPublishingOption() |
Modifier and Type | Method and Description |
---|---|
AwsOpenSearchServiceDomainLogPublishingOption |
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.
|
AwsOpenSearchServiceDomainLogPublishingOption |
withCloudWatchLogsLogGroupArn(String cloudWatchLogsLogGroupArn)
The ARN of the CloudWatch Logs group to publish the logs to.
|
AwsOpenSearchServiceDomainLogPublishingOption |
withEnabled(Boolean enabled)
Whether the log publishing is enabled.
|
public AwsOpenSearchServiceDomainLogPublishingOption()
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 AwsOpenSearchServiceDomainLogPublishingOption 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 AwsOpenSearchServiceDomainLogPublishingOption 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 Object
Object.toString()
public AwsOpenSearchServiceDomainLogPublishingOption clone()
public void marshall(ProtocolMarshaller protocolMarshaller)
StructuredPojo
ProtocolMarshaller
.marshall
in interface StructuredPojo
protocolMarshaller
- Implementation of ProtocolMarshaller
used to marshall this object's data.