Class CfnCustomPlugin.CustomPluginFileDescriptionProperty.Builder
java.lang.Object
software.amazon.awscdk.services.kafkaconnect.CfnCustomPlugin.CustomPluginFileDescriptionProperty.Builder
- All Implemented Interfaces:
software.amazon.jsii.Builder<CfnCustomPlugin.CustomPluginFileDescriptionProperty>
- Enclosing interface:
CfnCustomPlugin.CustomPluginFileDescriptionProperty
@Stability(Stable)
public static final class CfnCustomPlugin.CustomPluginFileDescriptionProperty.Builder
extends Object
implements software.amazon.jsii.Builder<CfnCustomPlugin.CustomPluginFileDescriptionProperty>
A builder for
CfnCustomPlugin.CustomPluginFileDescriptionProperty
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionbuild()
Builds the configured instance.Sets the value ofCfnCustomPlugin.CustomPluginFileDescriptionProperty.getFileMd5()
Sets the value ofCfnCustomPlugin.CustomPluginFileDescriptionProperty.getFileSize()
-
Constructor Details
-
Builder
public Builder()
-
-
Method Details
-
fileMd5
@Stability(Stable) public CfnCustomPlugin.CustomPluginFileDescriptionProperty.Builder fileMd5(String fileMd5) Sets the value ofCfnCustomPlugin.CustomPluginFileDescriptionProperty.getFileMd5()
- Parameters:
fileMd5
- The hex-encoded MD5 checksum of the custom plugin file. You can use it to validate the file.- Returns:
this
-
fileSize
@Stability(Stable) public CfnCustomPlugin.CustomPluginFileDescriptionProperty.Builder fileSize(Number fileSize) Sets the value ofCfnCustomPlugin.CustomPluginFileDescriptionProperty.getFileSize()
- Parameters:
fileSize
- The size in bytes of the custom plugin file. You can use it to validate the file.- Returns:
this
-
build
Builds the configured instance.- Specified by:
build
in interfacesoftware.amazon.jsii.Builder<CfnCustomPlugin.CustomPluginFileDescriptionProperty>
- Returns:
- a new instance of
CfnCustomPlugin.CustomPluginFileDescriptionProperty
- Throws:
NullPointerException
- if any required attribute was not provided
-