@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 Logs group to which CloudFormation sends error logging information when invoking the
extension's handlers.
|
String |
getLogRoleArn()
The Amazon Resource Name (ARN) of the role that CloudFormation should assume when sending log entries to
CloudWatch Logs.
|
int |
hashCode() |
void |
setLogGroupName(String logGroupName)
The Amazon CloudWatch Logs group to which CloudFormation sends error logging information when invoking the
extension's handlers.
|
void |
setLogRoleArn(String logRoleArn)
The Amazon Resource Name (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 Logs group to which CloudFormation sends error logging information when invoking the
extension's handlers.
|
LoggingConfig |
withLogRoleArn(String logRoleArn)
The Amazon Resource Name (ARN) of the role that CloudFormation should assume when sending log entries to
CloudWatch Logs.
|
public void setLogRoleArn(String logRoleArn)
The Amazon Resource Name (ARN) of the role that CloudFormation should assume when sending log entries to CloudWatch Logs.
logRoleArn
- The Amazon Resource Name (ARN) of the role that CloudFormation should assume when sending log entries to
CloudWatch Logs.public String getLogRoleArn()
The Amazon Resource Name (ARN) of the role that CloudFormation should assume when sending log entries to CloudWatch Logs.
public LoggingConfig withLogRoleArn(String logRoleArn)
The Amazon Resource Name (ARN) of the role that CloudFormation should assume when sending log entries to CloudWatch Logs.
logRoleArn
- The Amazon Resource Name (ARN) of the role that CloudFormation should assume when sending log entries to
CloudWatch Logs.public void setLogGroupName(String logGroupName)
The Amazon CloudWatch Logs group to which CloudFormation sends error logging information when invoking the extension's handlers.
logGroupName
- The Amazon CloudWatch Logs group to which CloudFormation sends error logging information when invoking the
extension's handlers.public String getLogGroupName()
The Amazon CloudWatch Logs group to which CloudFormation sends error logging information when invoking the extension's handlers.
public LoggingConfig withLogGroupName(String logGroupName)
The Amazon CloudWatch Logs group to which CloudFormation sends error logging information when invoking the extension's handlers.
logGroupName
- The Amazon CloudWatch Logs 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()