public static final class CfnMacroProps.Builder
extends java.lang.Object
CfnMacroProps
Constructor and Description |
---|
Builder() |
Modifier and Type | Method and Description |
---|---|
CfnMacroProps |
build()
Builds the configured instance.
|
CfnMacroProps.Builder |
description(java.lang.String description)
Sets the value of
CfnMacroProps.getDescription() |
CfnMacroProps.Builder |
functionName(java.lang.String functionName)
Sets the value of
CfnMacroProps.getFunctionName() |
CfnMacroProps.Builder |
logGroupName(java.lang.String logGroupName)
Sets the value of
CfnMacroProps.getLogGroupName() |
CfnMacroProps.Builder |
logRoleArn(java.lang.String logRoleArn)
Sets the value of
CfnMacroProps.getLogRoleArn() |
CfnMacroProps.Builder |
name(java.lang.String name)
Sets the value of
CfnMacroProps.getName() |
public CfnMacroProps.Builder functionName(java.lang.String functionName)
CfnMacroProps.getFunctionName()
functionName
- The Amazon Resource Name (ARN) of the underlying AWS Lambda function that you want AWS CloudFormation to invoke when the macro is run. This parameter is required.this
public CfnMacroProps.Builder name(java.lang.String name)
CfnMacroProps.getName()
name
- The name of the macro. This parameter is required.
The name of the macro must be unique across all macros in the account.this
public CfnMacroProps.Builder description(java.lang.String description)
CfnMacroProps.getDescription()
description
- A description of the macro.this
public CfnMacroProps.Builder logGroupName(java.lang.String logGroupName)
CfnMacroProps.getLogGroupName()
logGroupName
- The CloudWatch Logs group to which AWS CloudFormation sends error logging information when invoking the macro's underlying AWS Lambda function.this
public CfnMacroProps.Builder logRoleArn(java.lang.String logRoleArn)
CfnMacroProps.getLogRoleArn()
logRoleArn
- The ARN of the role AWS CloudFormation should assume when sending log entries to CloudWatch Logs .this
public CfnMacroProps build()
CfnMacroProps
java.lang.NullPointerException
- if any required attribute was not provided