public static final class CfnHookVersion.LoggingConfigProperty.Builder
extends java.lang.Object
CfnHookVersion.LoggingConfigProperty
Constructor and Description |
---|
Builder() |
Modifier and Type | Method and Description |
---|---|
CfnHookVersion.LoggingConfigProperty |
build()
Builds the configured instance.
|
CfnHookVersion.LoggingConfigProperty.Builder |
logGroupName(java.lang.String logGroupName)
Sets the value of
CfnHookVersion.LoggingConfigProperty.getLogGroupName() |
CfnHookVersion.LoggingConfigProperty.Builder |
logRoleArn(java.lang.String logRoleArn)
Sets the value of
CfnHookVersion.LoggingConfigProperty.getLogRoleArn() |
public CfnHookVersion.LoggingConfigProperty.Builder logGroupName(java.lang.String logGroupName)
CfnHookVersion.LoggingConfigProperty.getLogGroupName()
logGroupName
- The Amazon CloudWatch Logs group to which CloudFormation sends error logging information when invoking the extension's handlers.this
public CfnHookVersion.LoggingConfigProperty.Builder logRoleArn(java.lang.String logRoleArn)
CfnHookVersion.LoggingConfigProperty.getLogRoleArn()
logRoleArn
- The Amazon Resource Name (ARN) of the role that CloudFormation should assume when sending log entries to CloudWatch Logs.this
public CfnHookVersion.LoggingConfigProperty build()
CfnHookVersion.LoggingConfigProperty
java.lang.NullPointerException
- if any required attribute was not provided