Interface CreateHubRequest.Builder
- All Superinterfaces:
AwsRequest.Builder,Buildable,CopyableBuilder<CreateHubRequest.Builder,,CreateHubRequest> SageMakerRequest.Builder,SdkBuilder<CreateHubRequest.Builder,,CreateHubRequest> SdkPojo,SdkRequest.Builder
- Enclosing class:
CreateHubRequest
public static interface CreateHubRequest.Builder
extends SageMakerRequest.Builder, SdkPojo, CopyableBuilder<CreateHubRequest.Builder,CreateHubRequest>
-
Method Summary
Modifier and TypeMethodDescriptionhubDescription(String hubDescription) A description of the hub.hubDisplayName(String hubDisplayName) The display name of the hub.The name of the hub to create.hubSearchKeywords(String... hubSearchKeywords) The searchable keywords for the hub.hubSearchKeywords(Collection<String> hubSearchKeywords) The searchable keywords for the hub.overrideConfiguration(Consumer<AwsRequestOverrideConfiguration.Builder> builderConsumer) Add an optional request override configuration.overrideConfiguration(AwsRequestOverrideConfiguration overrideConfiguration) Add an optional request override configuration.default CreateHubRequest.Builders3StorageConfig(Consumer<HubS3StorageConfig.Builder> s3StorageConfig) The Amazon S3 storage configuration for the hub.s3StorageConfig(HubS3StorageConfig s3StorageConfig) The Amazon S3 storage configuration for the hub.tags(Collection<Tag> tags) Any tags to associate with the hub.tags(Consumer<Tag.Builder>... tags) Any tags to associate with the hub.Any tags to associate with the hub.Methods inherited from interface software.amazon.awssdk.awscore.AwsRequest.Builder
overrideConfigurationMethods inherited from interface software.amazon.awssdk.utils.builder.CopyableBuilder
copyMethods inherited from interface software.amazon.awssdk.services.sagemaker.model.SageMakerRequest.Builder
buildMethods inherited from interface software.amazon.awssdk.utils.builder.SdkBuilder
applyMutation, buildMethods inherited from interface software.amazon.awssdk.core.SdkPojo
equalsBySdkFields, sdkFields
-
Method Details
-
hubName
The name of the hub to create.
- Parameters:
hubName- The name of the hub to create.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
hubDescription
A description of the hub.
- Parameters:
hubDescription- A description of the hub.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
hubDisplayName
The display name of the hub.
- Parameters:
hubDisplayName- The display name of the hub.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
hubSearchKeywords
The searchable keywords for the hub.
- Parameters:
hubSearchKeywords- The searchable keywords for the hub.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
hubSearchKeywords
The searchable keywords for the hub.
- Parameters:
hubSearchKeywords- The searchable keywords for the hub.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
s3StorageConfig
The Amazon S3 storage configuration for the hub.
- Parameters:
s3StorageConfig- The Amazon S3 storage configuration for the hub.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
s3StorageConfig
default CreateHubRequest.Builder s3StorageConfig(Consumer<HubS3StorageConfig.Builder> s3StorageConfig) The Amazon S3 storage configuration for the hub.
This is a convenience method that creates an instance of theHubS3StorageConfig.Builderavoiding the need to create one manually viaHubS3StorageConfig.builder().When the
Consumercompletes,SdkBuilder.build()is called immediately and its result is passed tos3StorageConfig(HubS3StorageConfig).- Parameters:
s3StorageConfig- a consumer that will call methods onHubS3StorageConfig.Builder- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-
tags
Any tags to associate with the hub.
- Parameters:
tags- Any tags to associate with the hub.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
tags
Any tags to associate with the hub.
- Parameters:
tags- Any tags to associate with the hub.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
tags
Any tags to associate with the hub.
This is a convenience method that creates an instance of theTag.Builderavoiding the need to create one manually viaTag.builder().When the
Consumercompletes,SdkBuilder.build()is called immediately and its result is passed totags(List<Tag>).- Parameters:
tags- a consumer that will call methods onTag.Builder- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-
overrideConfiguration
CreateHubRequest.Builder overrideConfiguration(AwsRequestOverrideConfiguration overrideConfiguration) Description copied from interface:AwsRequest.BuilderAdd an optional request override configuration.- Specified by:
overrideConfigurationin interfaceAwsRequest.Builder- Parameters:
overrideConfiguration- The override configuration.- Returns:
- This object for method chaining.
-
overrideConfiguration
CreateHubRequest.Builder overrideConfiguration(Consumer<AwsRequestOverrideConfiguration.Builder> builderConsumer) Description copied from interface:AwsRequest.BuilderAdd an optional request override configuration.- Specified by:
overrideConfigurationin interfaceAwsRequest.Builder- Parameters:
builderConsumer- AConsumerto which an emptyAwsRequestOverrideConfiguration.Builderwill be given.- Returns:
- This object for method chaining.
-