Class CfnPipe.MQBrokerAccessCredentialsProperty.Builder
java.lang.Object
software.amazon.awscdk.services.pipes.CfnPipe.MQBrokerAccessCredentialsProperty.Builder
- All Implemented Interfaces:
software.amazon.jsii.Builder<CfnPipe.MQBrokerAccessCredentialsProperty>
- Enclosing interface:
CfnPipe.MQBrokerAccessCredentialsProperty
@Stability(Stable)
public static final class CfnPipe.MQBrokerAccessCredentialsProperty.Builder
extends Object
implements software.amazon.jsii.Builder<CfnPipe.MQBrokerAccessCredentialsProperty>
A builder for
CfnPipe.MQBrokerAccessCredentialsProperty
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionSets the value ofCfnPipe.MQBrokerAccessCredentialsProperty.getBasicAuth()
build()
Builds the configured instance.
-
Constructor Details
-
Builder
public Builder()
-
-
Method Details
-
basicAuth
@Stability(Stable) public CfnPipe.MQBrokerAccessCredentialsProperty.Builder basicAuth(String basicAuth) Sets the value ofCfnPipe.MQBrokerAccessCredentialsProperty.getBasicAuth()
- Parameters:
basicAuth
- The ARN of the Secrets Manager secret. This parameter is required.- Returns:
this
-
build
Builds the configured instance.- Specified by:
build
in interfacesoftware.amazon.jsii.Builder<CfnPipe.MQBrokerAccessCredentialsProperty>
- Returns:
- a new instance of
CfnPipe.MQBrokerAccessCredentialsProperty
- Throws:
NullPointerException
- if any required attribute was not provided
-