Class CfnHubProps.Builder
java.lang.Object
software.amazon.awscdk.services.sagemaker.CfnHubProps.Builder
- All Implemented Interfaces:
software.amazon.jsii.Builder<CfnHubProps>
- Enclosing interface:
CfnHubProps
@Stability(Stable)
public static final class CfnHubProps.Builder
extends Object
implements software.amazon.jsii.Builder<CfnHubProps>
A builder for
CfnHubProps-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionbuild()Builds the configured instance.hubDescription(String hubDescription) Sets the value ofCfnHubProps.getHubDescription()hubDisplayName(String hubDisplayName) Sets the value ofCfnHubProps.getHubDisplayName()Sets the value ofCfnHubProps.getHubName()hubSearchKeywords(List<String> hubSearchKeywords) Sets the value ofCfnHubProps.getHubSearchKeywords()s3StorageConfig(IResolvable s3StorageConfig) Sets the value ofCfnHubProps.getS3StorageConfig()s3StorageConfig(CfnHub.S3StorageConfigProperty s3StorageConfig) Sets the value ofCfnHubProps.getS3StorageConfig()Sets the value ofCfnHubProps.getTags()
-
Constructor Details
-
Builder
public Builder()
-
-
Method Details
-
hubDescription
Sets the value ofCfnHubProps.getHubDescription()- Parameters:
hubDescription- A description of the hub. This parameter is required.- Returns:
this
-
hubName
Sets the value ofCfnHubProps.getHubName()- Parameters:
hubName- The name of the hub. This parameter is required.- Returns:
this
-
hubDisplayName
Sets the value ofCfnHubProps.getHubDisplayName()- Parameters:
hubDisplayName- The display name of the hub.- Returns:
this
-
hubSearchKeywords
Sets the value ofCfnHubProps.getHubSearchKeywords()- Parameters:
hubSearchKeywords- The searchable keywords for the hub.- Returns:
this
-
s3StorageConfig
Sets the value ofCfnHubProps.getS3StorageConfig()- Parameters:
s3StorageConfig- The Amazon S3 storage configuration for the hub.- Returns:
this
-
s3StorageConfig
@Stability(Stable) public CfnHubProps.Builder s3StorageConfig(CfnHub.S3StorageConfigProperty s3StorageConfig) Sets the value ofCfnHubProps.getS3StorageConfig()- Parameters:
s3StorageConfig- The Amazon S3 storage configuration for the hub.- Returns:
this
-
tags
Sets the value ofCfnHubProps.getTags()- Parameters:
tags- Tags to associate with the hub.- Returns:
this
-
build
Builds the configured instance.- Specified by:
buildin interfacesoftware.amazon.jsii.Builder<CfnHubProps>- Returns:
- a new instance of
CfnHubProps - Throws:
NullPointerException- if any required attribute was not provided
-