Class CfnConnection.ParameterProperty.Builder
java.lang.Object
software.amazon.awscdk.services.events.CfnConnection.ParameterProperty.Builder
- All Implemented Interfaces:
software.amazon.jsii.Builder<CfnConnection.ParameterProperty>
- Enclosing interface:
CfnConnection.ParameterProperty
@Stability(Stable)
public static final class CfnConnection.ParameterProperty.Builder
extends Object
implements software.amazon.jsii.Builder<CfnConnection.ParameterProperty>
A builder for
CfnConnection.ParameterProperty-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionbuild()Builds the configured instance.isValueSecret(Boolean isValueSecret) Sets the value ofCfnConnection.ParameterProperty.getIsValueSecret()isValueSecret(IResolvable isValueSecret) Sets the value ofCfnConnection.ParameterProperty.getIsValueSecret()Sets the value ofCfnConnection.ParameterProperty.getKey()Sets the value ofCfnConnection.ParameterProperty.getValue()
-
Constructor Details
-
Builder
public Builder()
-
-
Method Details
-
key
Sets the value ofCfnConnection.ParameterProperty.getKey()- Parameters:
key- The key for a query string parameter. This parameter is required.- Returns:
this
-
value
Sets the value ofCfnConnection.ParameterProperty.getValue()- Parameters:
value- The value associated with the key for the query string parameter. This parameter is required.- Returns:
this
-
isValueSecret
@Stability(Stable) public CfnConnection.ParameterProperty.Builder isValueSecret(Boolean isValueSecret) Sets the value ofCfnConnection.ParameterProperty.getIsValueSecret()- Parameters:
isValueSecret- Specifies whether the value is secret.- Returns:
this
-
isValueSecret
@Stability(Stable) public CfnConnection.ParameterProperty.Builder isValueSecret(IResolvable isValueSecret) Sets the value ofCfnConnection.ParameterProperty.getIsValueSecret()- Parameters:
isValueSecret- Specifies whether the value is secret.- Returns:
this
-
build
Builds the configured instance.- Specified by:
buildin interfacesoftware.amazon.jsii.Builder<CfnConnection.ParameterProperty>- Returns:
- a new instance of
CfnConnection.ParameterProperty - Throws:
NullPointerException- if any required attribute was not provided
-