@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 Amazon 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 Logs 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)
Marshalls this structured data using the given
ProtocolMarshaller . |
void |
setCloudWatchLogGroupName(String cloudWatchLogGroupName)
The name of the CloudWatch Logs 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 Logs 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 Logs log group where you want to send command output. If you don't specify a group name, Amazon Web Services 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 Logs log group where you want to send command output. If you don't specify a
group name, Amazon Web Services 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 Logs log group where you want to send command output. If you don't specify a group name, Amazon Web Services Systems Manager automatically creates a log group for you. The log group uses the following naming format:
aws/ssm/SystemsManagerDocumentName
aws/ssm/SystemsManagerDocumentName
public CloudWatchOutputConfig withCloudWatchLogGroupName(String cloudWatchLogGroupName)
The name of the CloudWatch Logs log group where you want to send command output. If you don't specify a group name, Amazon Web Services 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 Logs log group where you want to send command output. If you don't specify a
group name, Amazon Web Services 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)
StructuredPojo
ProtocolMarshaller
.marshall
in interface StructuredPojo
protocolMarshaller
- Implementation of ProtocolMarshaller
used to marshall this object's data.