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