Class CfnApplicationProps.Builder
java.lang.Object
software.amazon.awscdk.services.securityagent.CfnApplicationProps.Builder
- All Implemented Interfaces:
software.amazon.jsii.Builder<CfnApplicationProps>
- Enclosing interface:
CfnApplicationProps
@Stability(Stable)
public static final class CfnApplicationProps.Builder
extends Object
implements software.amazon.jsii.Builder<CfnApplicationProps>
A builder for
CfnApplicationProps-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionbuild()Builds the configured instance.defaultKmsKeyId(String defaultKmsKeyId) Sets the value ofCfnApplicationProps.getDefaultKmsKeyId()idCConfiguration(IResolvable idCConfiguration) Sets the value ofCfnApplicationProps.getIdCConfiguration()idCConfiguration(CfnApplication.IdCConfigurationProperty idCConfiguration) Sets the value ofCfnApplicationProps.getIdCConfiguration()Sets the value ofCfnApplicationProps.getRoleArn()Sets the value ofCfnApplicationProps.getTags()
-
Constructor Details
-
Builder
public Builder()
-
-
Method Details
-
defaultKmsKeyId
Sets the value ofCfnApplicationProps.getDefaultKmsKeyId()- Parameters:
defaultKmsKeyId- Identifier of a KMS key. Can be a key ID, key ARN, alias name, or alias ARN.- Returns:
this
-
idCConfiguration
@Stability(Stable) public CfnApplicationProps.Builder idCConfiguration(IResolvable idCConfiguration) Sets the value ofCfnApplicationProps.getIdCConfiguration()- Parameters:
idCConfiguration- the value to be set.- Returns:
this
-
idCConfiguration
@Stability(Stable) public CfnApplicationProps.Builder idCConfiguration(CfnApplication.IdCConfigurationProperty idCConfiguration) Sets the value ofCfnApplicationProps.getIdCConfiguration()- Parameters:
idCConfiguration- the value to be set.- Returns:
this
-
roleArn
Sets the value ofCfnApplicationProps.getRoleArn()- Parameters:
roleArn- the value to be set.- Returns:
this
-
tags
Sets the value ofCfnApplicationProps.getTags()- Parameters:
tags- Tags for the application.- Returns:
this
-
build
Builds the configured instance.- Specified by:
buildin interfacesoftware.amazon.jsii.Builder<CfnApplicationProps>- Returns:
- a new instance of
CfnApplicationProps - Throws:
NullPointerException- if any required attribute was not provided
-