@Generated(value="com.amazonaws:aws-java-sdk-code-generator") public class CloudWatchOutputConfig extends Object implements Serializable, Cloneable, StructuredPojo
Configuration options for sending command output to CloudWatch Logs.
Constructor and Description |
---|
CloudWatchOutputConfig() |
Modifier and Type | Method and Description |
---|---|
CloudWatchOutputConfig |
clone() |
boolean |
equals(Object obj) |
String |
getCloudWatchLogGroupName()
The name of the CloudWatch log group where you want to send command output.
|
Boolean |
getCloudWatchOutputEnabled()
Enables Systems Manager to send command output to CloudWatch Logs.
|
int |
hashCode() |
Boolean |
isCloudWatchOutputEnabled()
Enables Systems Manager to send command output to CloudWatch Logs.
|
void |
marshall(ProtocolMarshaller protocolMarshaller) |
void |
setCloudWatchLogGroupName(String cloudWatchLogGroupName)
The name of the CloudWatch log group where you want to send command output.
|
void |
setCloudWatchOutputEnabled(Boolean cloudWatchOutputEnabled)
Enables Systems Manager to send command output to CloudWatch Logs.
|
String |
toString()
Returns a string representation of this object.
|
CloudWatchOutputConfig |
withCloudWatchLogGroupName(String cloudWatchLogGroupName)
The name of the CloudWatch log group where you want to send command output.
|
CloudWatchOutputConfig |
withCloudWatchOutputEnabled(Boolean cloudWatchOutputEnabled)
Enables Systems Manager to send command output to CloudWatch Logs.
|
public void setCloudWatchLogGroupName(String cloudWatchLogGroupName)
The name of the CloudWatch log group where you want to send command output. If you don't specify a group name, Systems Manager automatically creates a log group for you. The log group uses the following naming format: aws/ssm/SystemsManagerDocumentName.
cloudWatchLogGroupName
- The name of the CloudWatch log group where you want to send command output. If you don't specify a group
name, Systems Manager automatically creates a log group for you. The log group uses the following naming
format: aws/ssm/SystemsManagerDocumentName.public String getCloudWatchLogGroupName()
The name of the CloudWatch log group where you want to send command output. If you don't specify a group name, Systems Manager automatically creates a log group for you. The log group uses the following naming format: aws/ssm/SystemsManagerDocumentName.
public CloudWatchOutputConfig withCloudWatchLogGroupName(String cloudWatchLogGroupName)
The name of the CloudWatch log group where you want to send command output. If you don't specify a group name, Systems Manager automatically creates a log group for you. The log group uses the following naming format: aws/ssm/SystemsManagerDocumentName.
cloudWatchLogGroupName
- The name of the CloudWatch log group where you want to send command output. If you don't specify a group
name, Systems Manager automatically creates a log group for you. The log group uses the following naming
format: aws/ssm/SystemsManagerDocumentName.public void setCloudWatchOutputEnabled(Boolean cloudWatchOutputEnabled)
Enables Systems Manager to send command output to CloudWatch Logs.
cloudWatchOutputEnabled
- Enables Systems Manager to send command output to CloudWatch Logs.public Boolean getCloudWatchOutputEnabled()
Enables Systems Manager to send command output to CloudWatch Logs.
public CloudWatchOutputConfig withCloudWatchOutputEnabled(Boolean cloudWatchOutputEnabled)
Enables Systems Manager to send command output to CloudWatch Logs.
cloudWatchOutputEnabled
- Enables Systems Manager to send command output to CloudWatch Logs.public Boolean isCloudWatchOutputEnabled()
Enables Systems Manager to send command output to CloudWatch Logs.
public String toString()
toString
in class Object
Object.toString()
public CloudWatchOutputConfig clone()
public void marshall(ProtocolMarshaller protocolMarshaller)
marshall
in interface StructuredPojo
Copyright © 2021. All rights reserved.