@Generated(value="com.amazonaws:aws-java-sdk-code-generator") public class CloudWatchLogGroupLogDestination extends Object implements Serializable, Cloneable, StructuredPojo
The Amazon CloudWatch Logs log group where the text and metadata logs are delivered. The log group must exist before you enable logging.
Constructor and Description |
---|
CloudWatchLogGroupLogDestination() |
Modifier and Type | Method and Description |
---|---|
CloudWatchLogGroupLogDestination |
clone() |
boolean |
equals(Object obj) |
String |
getCloudWatchLogGroupArn()
The Amazon Resource Name (ARN) of the log group where text and metadata logs are delivered.
|
String |
getLogPrefix()
The prefix of the log stream name within the log group that you specified
|
int |
hashCode() |
void |
marshall(ProtocolMarshaller protocolMarshaller)
Marshalls this structured data using the given
ProtocolMarshaller . |
void |
setCloudWatchLogGroupArn(String cloudWatchLogGroupArn)
The Amazon Resource Name (ARN) of the log group where text and metadata logs are delivered.
|
void |
setLogPrefix(String logPrefix)
The prefix of the log stream name within the log group that you specified
|
String |
toString()
Returns a string representation of this object.
|
CloudWatchLogGroupLogDestination |
withCloudWatchLogGroupArn(String cloudWatchLogGroupArn)
The Amazon Resource Name (ARN) of the log group where text and metadata logs are delivered.
|
CloudWatchLogGroupLogDestination |
withLogPrefix(String logPrefix)
The prefix of the log stream name within the log group that you specified
|
public void setCloudWatchLogGroupArn(String cloudWatchLogGroupArn)
The Amazon Resource Name (ARN) of the log group where text and metadata logs are delivered.
cloudWatchLogGroupArn
- The Amazon Resource Name (ARN) of the log group where text and metadata logs are delivered.public String getCloudWatchLogGroupArn()
The Amazon Resource Name (ARN) of the log group where text and metadata logs are delivered.
public CloudWatchLogGroupLogDestination withCloudWatchLogGroupArn(String cloudWatchLogGroupArn)
The Amazon Resource Name (ARN) of the log group where text and metadata logs are delivered.
cloudWatchLogGroupArn
- The Amazon Resource Name (ARN) of the log group where text and metadata logs are delivered.public void setLogPrefix(String logPrefix)
The prefix of the log stream name within the log group that you specified
logPrefix
- The prefix of the log stream name within the log group that you specifiedpublic String getLogPrefix()
The prefix of the log stream name within the log group that you specified
public CloudWatchLogGroupLogDestination withLogPrefix(String logPrefix)
The prefix of the log stream name within the log group that you specified
logPrefix
- The prefix of the log stream name within the log group that you specifiedpublic String toString()
toString
in class Object
Object.toString()
public CloudWatchLogGroupLogDestination clone()
public void marshall(ProtocolMarshaller protocolMarshaller)
StructuredPojo
ProtocolMarshaller
.marshall
in interface StructuredPojo
protocolMarshaller
- Implementation of ProtocolMarshaller
used to marshall this object's data.