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