Package software.amazon.awscdk
Class CfnTypeActivation.LoggingConfigProperty.Builder
java.lang.Object
software.amazon.awscdk.CfnTypeActivation.LoggingConfigProperty.Builder
- All Implemented Interfaces:
software.amazon.jsii.Builder<CfnTypeActivation.LoggingConfigProperty>
- Enclosing interface:
CfnTypeActivation.LoggingConfigProperty
@Stability(Stable)
public static final class CfnTypeActivation.LoggingConfigProperty.Builder
extends Object
implements software.amazon.jsii.Builder<CfnTypeActivation.LoggingConfigProperty>
A builder for
CfnTypeActivation.LoggingConfigProperty
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionbuild()
Builds the configured instance.logGroupName
(String logGroupName) Sets the value ofCfnTypeActivation.LoggingConfigProperty.getLogGroupName()
logRoleArn
(String logRoleArn) Sets the value ofCfnTypeActivation.LoggingConfigProperty.getLogRoleArn()
-
Constructor Details
-
Builder
public Builder()
-
-
Method Details
-
logGroupName
@Stability(Stable) public CfnTypeActivation.LoggingConfigProperty.Builder logGroupName(String logGroupName) Sets the value ofCfnTypeActivation.LoggingConfigProperty.getLogGroupName()
- Parameters:
logGroupName
- The Amazon CloudWatch Logs group to which CloudFormation sends error logging information when invoking the extension's handlers.- Returns:
this
-
logRoleArn
@Stability(Stable) public CfnTypeActivation.LoggingConfigProperty.Builder logRoleArn(String logRoleArn) Sets the value ofCfnTypeActivation.LoggingConfigProperty.getLogRoleArn()
- Parameters:
logRoleArn
- The Amazon Resource Name (ARN) of the role that CloudFormation should assume when sending log entries to CloudWatch Logs.- Returns:
this
-
build
Builds the configured instance.- Specified by:
build
in interfacesoftware.amazon.jsii.Builder<CfnTypeActivation.LoggingConfigProperty>
- Returns:
- a new instance of
CfnTypeActivation.LoggingConfigProperty
- Throws:
NullPointerException
- if any required attribute was not provided
-