Class CfnConnection.ClientParametersProperty.Builder
java.lang.Object
software.amazon.awscdk.services.events.CfnConnection.ClientParametersProperty.Builder
- All Implemented Interfaces:
software.amazon.jsii.Builder<CfnConnection.ClientParametersProperty>
- Enclosing interface:
- CfnConnection.ClientParametersProperty
@Stability(Stable)
public static final class CfnConnection.ClientParametersProperty.Builder
extends Object
implements software.amazon.jsii.Builder<CfnConnection.ClientParametersProperty>
A builder for
CfnConnection.ClientParametersProperty-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionbuild()Builds the configured instance.Sets the value ofCfnConnection.ClientParametersProperty.getClientId()clientSecret(String clientSecret) Sets the value ofCfnConnection.ClientParametersProperty.getClientSecret()
-
Constructor Details
-
Builder
public Builder()
-
-
Method Details
-
clientId
Sets the value ofCfnConnection.ClientParametersProperty.getClientId()- Parameters:
clientId- The client ID to use for OAuth authorization. This parameter is required.- Returns:
this
-
clientSecret
@Stability(Stable) public CfnConnection.ClientParametersProperty.Builder clientSecret(String clientSecret) Sets the value ofCfnConnection.ClientParametersProperty.getClientSecret()- Parameters:
clientSecret- The client secret assciated with the client ID to use for OAuth authorization. This parameter is required.- Returns:
this
-
build
Builds the configured instance.- Specified by:
buildin interfacesoftware.amazon.jsii.Builder<CfnConnection.ClientParametersProperty>- Returns:
- a new instance of
CfnConnection.ClientParametersProperty - Throws:
NullPointerException- if any required attribute was not provided
-