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
-
Methods inherited from interface software.amazon.awssdk.awscore.AwsRequest.Builder
overrideConfiguration
-
Methods inherited from interface software.amazon.awssdk.utils.builder.CopyableBuilder
copy
-
Methods inherited from interface software.amazon.awssdk.services.sagemaker.model.SageMakerRequest.Builder
build
-
Methods inherited from interface software.amazon.awssdk.utils.builder.SdkBuilder
applyMutation, build
-
Methods inherited from interface software.amazon.awssdk.core.SdkPojo
equalsBySdkFields, sdkFieldNameToField, sdkFields
-
-
-
-
Method Detail
-
hubName
CreateHubRequest.Builder hubName(String 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
CreateHubRequest.Builder hubDescription(String 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
CreateHubRequest.Builder hubDisplayName(String 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
CreateHubRequest.Builder hubSearchKeywords(Collection<String> 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
CreateHubRequest.Builder hubSearchKeywords(String... 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
CreateHubRequest.Builder s3StorageConfig(HubS3StorageConfig 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.Builder
avoiding the need to create one manually viaHubS3StorageConfig.builder()
.When the
Consumer
completes,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:
s3StorageConfig(HubS3StorageConfig)
-
tags
CreateHubRequest.Builder tags(Collection<Tag> 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
CreateHubRequest.Builder tags(Tag... 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
CreateHubRequest.Builder tags(Consumer<Tag.Builder>... tags)
Any tags to associate with the hub.
This is a convenience method that creates an instance of theTag.Builder
avoiding the need to create one manually viaTag.builder()
.When the
Consumer
completes,SdkBuilder.build()
is called immediately and its result is passed to#tags(List
.) - 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:
#tags(java.util.Collection
)
-
overrideConfiguration
CreateHubRequest.Builder overrideConfiguration(AwsRequestOverrideConfiguration overrideConfiguration)
- Specified by:
overrideConfiguration
in interfaceAwsRequest.Builder
-
overrideConfiguration
CreateHubRequest.Builder overrideConfiguration(Consumer<AwsRequestOverrideConfiguration.Builder> builderConsumer)
- Specified by:
overrideConfiguration
in interfaceAwsRequest.Builder
-
-