Class CfnCertificateProviderProps.Builder
java.lang.Object
software.amazon.awscdk.services.iot.CfnCertificateProviderProps.Builder
- All Implemented Interfaces:
software.amazon.jsii.Builder<CfnCertificateProviderProps>
- Enclosing interface:
CfnCertificateProviderProps
@Stability(Stable)
public static final class CfnCertificateProviderProps.Builder
extends Object
implements software.amazon.jsii.Builder<CfnCertificateProviderProps>
A builder for
CfnCertificateProviderProps
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionaccountDefaultForOperations
(List<String> accountDefaultForOperations) Sets the value ofCfnCertificateProviderProps.getAccountDefaultForOperations()
build()
Builds the configured instance.certificateProviderName
(String certificateProviderName) Sets the value ofCfnCertificateProviderProps.getCertificateProviderName()
lambdaFunctionArn
(String lambdaFunctionArn) Sets the value ofCfnCertificateProviderProps.getLambdaFunctionArn()
Sets the value ofCfnCertificateProviderProps.getTags()
-
Constructor Details
-
Builder
public Builder()
-
-
Method Details
-
accountDefaultForOperations
@Stability(Stable) public CfnCertificateProviderProps.Builder accountDefaultForOperations(List<String> accountDefaultForOperations) Sets the value ofCfnCertificateProviderProps.getAccountDefaultForOperations()
- Parameters:
accountDefaultForOperations
- A list of the operations that the certificate provider will use to generate certificates. This parameter is required. Valid value:CreateCertificateFromCsr
.- Returns:
this
-
lambdaFunctionArn
@Stability(Stable) public CfnCertificateProviderProps.Builder lambdaFunctionArn(String lambdaFunctionArn) Sets the value ofCfnCertificateProviderProps.getLambdaFunctionArn()
- Parameters:
lambdaFunctionArn
- The ARN of the Lambda function. This parameter is required.- Returns:
this
-
certificateProviderName
@Stability(Stable) public CfnCertificateProviderProps.Builder certificateProviderName(String certificateProviderName) Sets the value ofCfnCertificateProviderProps.getCertificateProviderName()
- Parameters:
certificateProviderName
- The name of the certificate provider.- Returns:
this
-
tags
Sets the value ofCfnCertificateProviderProps.getTags()
- Parameters:
tags
- Metadata that can be used to manage the certificate provider.- Returns:
this
-
build
Builds the configured instance.- Specified by:
build
in interfacesoftware.amazon.jsii.Builder<CfnCertificateProviderProps>
- Returns:
- a new instance of
CfnCertificateProviderProps
- Throws:
NullPointerException
- if any required attribute was not provided
-