Class CfnDatabasePropsMixin.RelationalDatabaseParameterProperty.Builder
java.lang.Object
software.amazon.awscdk.cfnpropertymixins.services.lightsail.CfnDatabasePropsMixin.RelationalDatabaseParameterProperty.Builder
- All Implemented Interfaces:
software.amazon.jsii.Builder<CfnDatabasePropsMixin.RelationalDatabaseParameterProperty>
- Enclosing interface:
CfnDatabasePropsMixin.RelationalDatabaseParameterProperty
@Stability(Stable)
public static final class CfnDatabasePropsMixin.RelationalDatabaseParameterProperty.Builder
extends Object
implements software.amazon.jsii.Builder<CfnDatabasePropsMixin.RelationalDatabaseParameterProperty>
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionallowedValues(String allowedValues) applyMethod(String applyMethod) Sets the value ofCfnDatabasePropsMixin.RelationalDatabaseParameterProperty.getApplyType()build()Builds the configured instance.Sets the value ofCfnDatabasePropsMixin.RelationalDatabaseParameterProperty.getDataType()description(String description) isModifiable(Boolean isModifiable) isModifiable(IResolvable isModifiable) parameterName(String parameterName) parameterValue(String parameterValue)
-
Constructor Details
-
Builder
public Builder()
-
-
Method Details
-
allowedValues
@Stability(Stable) public CfnDatabasePropsMixin.RelationalDatabaseParameterProperty.Builder allowedValues(String allowedValues) - Parameters:
allowedValues- The valid range of values for the parameter.- Returns:
this
-
applyMethod
@Stability(Stable) public CfnDatabasePropsMixin.RelationalDatabaseParameterProperty.Builder applyMethod(String applyMethod) - Parameters:
applyMethod- Indicates when parameter updates are applied. Can beimmediateorpending-reboot.- Returns:
this
-
applyType
@Stability(Stable) public CfnDatabasePropsMixin.RelationalDatabaseParameterProperty.Builder applyType(String applyType) Sets the value ofCfnDatabasePropsMixin.RelationalDatabaseParameterProperty.getApplyType()- Parameters:
applyType- Specifies the engine-specific parameter type.- Returns:
this
-
dataType
@Stability(Stable) public CfnDatabasePropsMixin.RelationalDatabaseParameterProperty.Builder dataType(String dataType) Sets the value ofCfnDatabasePropsMixin.RelationalDatabaseParameterProperty.getDataType()- Parameters:
dataType- The valid data type of the parameter.- Returns:
this
-
description
@Stability(Stable) public CfnDatabasePropsMixin.RelationalDatabaseParameterProperty.Builder description(String description) - Parameters:
description- A description of the parameter.- Returns:
this
-
isModifiable
@Stability(Stable) public CfnDatabasePropsMixin.RelationalDatabaseParameterProperty.Builder isModifiable(Boolean isModifiable) - Parameters:
isModifiable- A Boolean value indicating whether the parameter can be modified.- Returns:
this
-
isModifiable
@Stability(Stable) public CfnDatabasePropsMixin.RelationalDatabaseParameterProperty.Builder isModifiable(IResolvable isModifiable) - Parameters:
isModifiable- A Boolean value indicating whether the parameter can be modified.- Returns:
this
-
parameterName
@Stability(Stable) public CfnDatabasePropsMixin.RelationalDatabaseParameterProperty.Builder parameterName(String parameterName) - Parameters:
parameterName- The name of the parameter.- Returns:
this
-
parameterValue
@Stability(Stable) public CfnDatabasePropsMixin.RelationalDatabaseParameterProperty.Builder parameterValue(String parameterValue) - Parameters:
parameterValue- The value for the parameter.- Returns:
this
-
build
Builds the configured instance.- Specified by:
buildin interfacesoftware.amazon.jsii.Builder<CfnDatabasePropsMixin.RelationalDatabaseParameterProperty>- Returns:
- a new instance of
CfnDatabasePropsMixin.RelationalDatabaseParameterProperty - Throws:
NullPointerException- if any required attribute was not provided
-