@Generated(value="com.amazonaws:aws-java-sdk-code-generator") public class CloudWatchLoggingOption extends Object implements Serializable, Cloneable, StructuredPojo
Provides a description of Amazon CloudWatch logging options, including the log stream Amazon Resource Name (ARN).
Constructor and Description |
---|
CloudWatchLoggingOption() |
Modifier and Type | Method and Description |
---|---|
CloudWatchLoggingOption |
clone() |
boolean |
equals(Object obj) |
String |
getLogStreamARN()
The ARN of the CloudWatch log to receive application messages.
|
int |
hashCode() |
void |
marshall(ProtocolMarshaller protocolMarshaller)
Marshalls this structured data using the given
ProtocolMarshaller . |
void |
setLogStreamARN(String logStreamARN)
The ARN of the CloudWatch log to receive application messages.
|
String |
toString()
Returns a string representation of this object.
|
CloudWatchLoggingOption |
withLogStreamARN(String logStreamARN)
The ARN of the CloudWatch log to receive application messages.
|
public void setLogStreamARN(String logStreamARN)
The ARN of the CloudWatch log to receive application messages.
logStreamARN
- The ARN of the CloudWatch log to receive application messages.public String getLogStreamARN()
The ARN of the CloudWatch log to receive application messages.
public CloudWatchLoggingOption withLogStreamARN(String logStreamARN)
The ARN of the CloudWatch log to receive application messages.
logStreamARN
- The ARN of the CloudWatch log to receive application messages.public String toString()
toString
in class Object
Object.toString()
public CloudWatchLoggingOption clone()
public void marshall(ProtocolMarshaller protocolMarshaller)
StructuredPojo
ProtocolMarshaller
.marshall
in interface StructuredPojo
protocolMarshaller
- Implementation of ProtocolMarshaller
used to marshall this object's data.