Class CfnCustomPlugin.CustomPluginLocationProperty.Builder
java.lang.Object
software.amazon.awscdk.services.kafkaconnect.CfnCustomPlugin.CustomPluginLocationProperty.Builder
- All Implemented Interfaces:
software.amazon.jsii.Builder<CfnCustomPlugin.CustomPluginLocationProperty>
- Enclosing interface:
CfnCustomPlugin.CustomPluginLocationProperty
@Stability(Stable)
public static final class CfnCustomPlugin.CustomPluginLocationProperty.Builder
extends Object
implements software.amazon.jsii.Builder<CfnCustomPlugin.CustomPluginLocationProperty>
A builder for
CfnCustomPlugin.CustomPluginLocationProperty
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionbuild()
Builds the configured instance.s3Location
(IResolvable s3Location) Sets the value ofCfnCustomPlugin.CustomPluginLocationProperty.getS3Location()
s3Location
(CfnCustomPlugin.S3LocationProperty s3Location) Sets the value ofCfnCustomPlugin.CustomPluginLocationProperty.getS3Location()
-
Constructor Details
-
Builder
public Builder()
-
-
Method Details
-
s3Location
@Stability(Stable) public CfnCustomPlugin.CustomPluginLocationProperty.Builder s3Location(IResolvable s3Location) Sets the value ofCfnCustomPlugin.CustomPluginLocationProperty.getS3Location()
- Parameters:
s3Location
- The S3 bucket Amazon Resource Name (ARN), file key, and object version of the plugin file stored in Amazon S3. This parameter is required.- Returns:
this
-
s3Location
@Stability(Stable) public CfnCustomPlugin.CustomPluginLocationProperty.Builder s3Location(CfnCustomPlugin.S3LocationProperty s3Location) Sets the value ofCfnCustomPlugin.CustomPluginLocationProperty.getS3Location()
- Parameters:
s3Location
- The S3 bucket Amazon Resource Name (ARN), file key, and object version of the plugin file stored in Amazon S3. This parameter is required.- Returns:
this
-
build
Builds the configured instance.- Specified by:
build
in interfacesoftware.amazon.jsii.Builder<CfnCustomPlugin.CustomPluginLocationProperty>
- Returns:
- a new instance of
CfnCustomPlugin.CustomPluginLocationProperty
- Throws:
NullPointerException
- if any required attribute was not provided
-