public class CloudwatchLogsAction
extends java.lang.Object
implements java.io.Serializable
Describes an action that sends data to CloudWatch Logs.
Constructor and Description |
---|
CloudwatchLogsAction() |
Modifier and Type | Method and Description |
---|---|
boolean |
equals(java.lang.Object obj) |
java.lang.String |
getLogGroupName()
The CloudWatch log group to which the action sends data.
|
java.lang.String |
getRoleArn()
The IAM role that allows access to the CloudWatch log.
|
int |
hashCode() |
void |
setLogGroupName(java.lang.String logGroupName)
The CloudWatch log group to which the action sends data.
|
void |
setRoleArn(java.lang.String roleArn)
The IAM role that allows access to the CloudWatch log.
|
java.lang.String |
toString()
Returns a string representation of this object; useful for testing and
debugging.
|
CloudwatchLogsAction |
withLogGroupName(java.lang.String logGroupName)
The CloudWatch log group to which the action sends data.
|
CloudwatchLogsAction |
withRoleArn(java.lang.String roleArn)
The IAM role that allows access to the CloudWatch log.
|
public java.lang.String getRoleArn()
The IAM role that allows access to the CloudWatch log.
The IAM role that allows access to the CloudWatch log.
public void setRoleArn(java.lang.String roleArn)
The IAM role that allows access to the CloudWatch log.
roleArn
- The IAM role that allows access to the CloudWatch log.
public CloudwatchLogsAction withRoleArn(java.lang.String roleArn)
The IAM role that allows access to the CloudWatch log.
Returns a reference to this object so that method calls can be chained together.
roleArn
- The IAM role that allows access to the CloudWatch log.
public java.lang.String getLogGroupName()
The CloudWatch log group to which the action sends data.
The CloudWatch log group to which the action sends data.
public void setLogGroupName(java.lang.String logGroupName)
The CloudWatch log group to which the action sends data.
logGroupName
- The CloudWatch log group to which the action sends data.
public CloudwatchLogsAction withLogGroupName(java.lang.String logGroupName)
The CloudWatch log group to which the action sends data.
Returns a reference to this object so that method calls can be chained together.
logGroupName
- The CloudWatch log group to which the action sends data.
public java.lang.String toString()
toString
in class java.lang.Object
Object.toString()
public int hashCode()
hashCode
in class java.lang.Object
public boolean equals(java.lang.Object obj)
equals
in class java.lang.Object
Copyright © 2018 Amazon Web Services, Inc. All Rights Reserved.