Class CfnEventSourceMapping.SchemaRegistryAccessConfigProperty.Builder
java.lang.Object
software.amazon.awscdk.services.lambda.CfnEventSourceMapping.SchemaRegistryAccessConfigProperty.Builder
- All Implemented Interfaces:
software.amazon.jsii.Builder<CfnEventSourceMapping.SchemaRegistryAccessConfigProperty>
- Enclosing interface:
CfnEventSourceMapping.SchemaRegistryAccessConfigProperty
@Stability(Stable)
public static final class CfnEventSourceMapping.SchemaRegistryAccessConfigProperty.Builder
extends Object
implements software.amazon.jsii.Builder<CfnEventSourceMapping.SchemaRegistryAccessConfigProperty>
A builder for
CfnEventSourceMapping.SchemaRegistryAccessConfigProperty
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionbuild()
Builds the configured instance.Sets the value ofCfnEventSourceMapping.SchemaRegistryAccessConfigProperty.getType()
Sets the value ofCfnEventSourceMapping.SchemaRegistryAccessConfigProperty.getUri()
-
Constructor Details
-
Builder
public Builder()
-
-
Method Details
-
type
@Stability(Stable) public CfnEventSourceMapping.SchemaRegistryAccessConfigProperty.Builder type(String type) Sets the value ofCfnEventSourceMapping.SchemaRegistryAccessConfigProperty.getType()
- Parameters:
type
- The type of authentication Lambda uses to access your schema registry.- Returns:
this
-
uri
@Stability(Stable) public CfnEventSourceMapping.SchemaRegistryAccessConfigProperty.Builder uri(String uri) Sets the value ofCfnEventSourceMapping.SchemaRegistryAccessConfigProperty.getUri()
- Parameters:
uri
- The URI of the secret (Secrets Manager secret ARN) to authenticate with your schema registry.- Returns:
this
-
build
Builds the configured instance.- Specified by:
build
in interfacesoftware.amazon.jsii.Builder<CfnEventSourceMapping.SchemaRegistryAccessConfigProperty>
- Returns:
- a new instance of
CfnEventSourceMapping.SchemaRegistryAccessConfigProperty
- Throws:
NullPointerException
- if any required attribute was not provided
-