@Generated(value="com.amazonaws:aws-java-sdk-code-generator") public class LoggingConfig extends Object implements Serializable, Cloneable
Contains logging configuration information for an extension.
Constructor and Description |
---|
LoggingConfig() |
Modifier and Type | Method and Description |
---|---|
LoggingConfig |
clone() |
boolean |
equals(Object obj) |
String |
getLogGroupName()
The Amazon CloudWatch log group to which CloudFormation sends error logging information when invoking the
extension's handlers.
|
String |
getLogRoleArn()
The ARN of the role that CloudFormation should assume when sending log entries to CloudWatch logs.
|
int |
hashCode() |
void |
setLogGroupName(String logGroupName)
The Amazon CloudWatch log group to which CloudFormation sends error logging information when invoking the
extension's handlers.
|
void |
setLogRoleArn(String logRoleArn)
The ARN of the role that CloudFormation should assume when sending log entries to CloudWatch logs.
|
String |
toString()
Returns a string representation of this object.
|
LoggingConfig |
withLogGroupName(String logGroupName)
The Amazon CloudWatch log group to which CloudFormation sends error logging information when invoking the
extension's handlers.
|
LoggingConfig |
withLogRoleArn(String logRoleArn)
The ARN of the role that CloudFormation should assume when sending log entries to CloudWatch logs.
|
public void setLogRoleArn(String logRoleArn)
The ARN of the role that CloudFormation should assume when sending log entries to CloudWatch logs.
logRoleArn
- The ARN of the role that CloudFormation should assume when sending log entries to CloudWatch logs.public String getLogRoleArn()
The ARN of the role that CloudFormation should assume when sending log entries to CloudWatch logs.
public LoggingConfig withLogRoleArn(String logRoleArn)
The ARN of the role that CloudFormation should assume when sending log entries to CloudWatch logs.
logRoleArn
- The ARN of the role that CloudFormation should assume when sending log entries to CloudWatch logs.public void setLogGroupName(String logGroupName)
The Amazon CloudWatch log group to which CloudFormation sends error logging information when invoking the extension's handlers.
logGroupName
- The Amazon CloudWatch log group to which CloudFormation sends error logging information when invoking the
extension's handlers.public String getLogGroupName()
The Amazon CloudWatch log group to which CloudFormation sends error logging information when invoking the extension's handlers.
public LoggingConfig withLogGroupName(String logGroupName)
The Amazon CloudWatch log group to which CloudFormation sends error logging information when invoking the extension's handlers.
logGroupName
- The Amazon CloudWatch log group to which CloudFormation sends error logging information when invoking the
extension's handlers.public String toString()
toString
in class Object
Object.toString()
public LoggingConfig clone()