@Generated(value="com.amazonaws:aws-java-sdk-code-generator") public class CloudWatchLogsDestination extends Object implements Serializable, Cloneable, StructuredPojo
| Constructor and Description | 
|---|
| CloudWatchLogsDestination() | 
| Modifier and Type | Method and Description | 
|---|---|
| CloudWatchLogsDestination | clone() | 
| boolean | equals(Object obj) | 
| String | getIamRoleArn()The Amazon Resource Name (ARN) of an Amazon Identity and Access Management (IAM) role that is able to write event
 data to an Amazon CloudWatch destination. | 
| String | getLogGroupArn()The name of the Amazon CloudWatch Log Group that you want to record events in. | 
| int | hashCode() | 
| void | marshall(ProtocolMarshaller protocolMarshaller)Marshalls this structured data using the given  ProtocolMarshaller. | 
| void | setIamRoleArn(String iamRoleArn)The Amazon Resource Name (ARN) of an Amazon Identity and Access Management (IAM) role that is able to write event
 data to an Amazon CloudWatch destination. | 
| void | setLogGroupArn(String logGroupArn)The name of the Amazon CloudWatch Log Group that you want to record events in. | 
| String | toString()Returns a string representation of this object. | 
| CloudWatchLogsDestination | withIamRoleArn(String iamRoleArn)The Amazon Resource Name (ARN) of an Amazon Identity and Access Management (IAM) role that is able to write event
 data to an Amazon CloudWatch destination. | 
| CloudWatchLogsDestination | withLogGroupArn(String logGroupArn)The name of the Amazon CloudWatch Log Group that you want to record events in. | 
public void setIamRoleArn(String iamRoleArn)
iamRoleArn - The Amazon Resource Name (ARN) of an Amazon Identity and Access Management (IAM) role that is able to
        write event data to an Amazon CloudWatch destination.public String getIamRoleArn()
public CloudWatchLogsDestination withIamRoleArn(String iamRoleArn)
iamRoleArn - The Amazon Resource Name (ARN) of an Amazon Identity and Access Management (IAM) role that is able to
        write event data to an Amazon CloudWatch destination.public void setLogGroupArn(String logGroupArn)
logGroupArn - The name of the Amazon CloudWatch Log Group that you want to record events in.public String getLogGroupArn()
public CloudWatchLogsDestination withLogGroupArn(String logGroupArn)
logGroupArn - The name of the Amazon CloudWatch Log Group that you want to record events in.public String toString()
toString in class ObjectObject.toString()public CloudWatchLogsDestination clone()
public void marshall(ProtocolMarshaller protocolMarshaller)
StructuredPojoProtocolMarshaller.marshall in interface StructuredPojoprotocolMarshaller - Implementation of ProtocolMarshaller used to marshall this object's data.