Interface CreateHubContentReferenceRequest.Builder
- All Superinterfaces:
AwsRequest.Builder
,Buildable
,CopyableBuilder<CreateHubContentReferenceRequest.Builder,
,CreateHubContentReferenceRequest> SageMakerRequest.Builder
,SdkBuilder<CreateHubContentReferenceRequest.Builder,
,CreateHubContentReferenceRequest> SdkPojo
,SdkRequest.Builder
- Enclosing class:
CreateHubContentReferenceRequest
public static interface CreateHubContentReferenceRequest.Builder
extends SageMakerRequest.Builder, SdkPojo, CopyableBuilder<CreateHubContentReferenceRequest.Builder,CreateHubContentReferenceRequest>
-
Method Summary
Modifier and TypeMethodDescriptionhubContentName
(String hubContentName) The name of the hub content to reference.The name of the hub to add the hub content reference to.minVersion
(String minVersion) The minimum version of the hub content to reference.overrideConfiguration
(Consumer<AwsRequestOverrideConfiguration.Builder> builderConsumer) Add an optional request override configuration.overrideConfiguration
(AwsRequestOverrideConfiguration overrideConfiguration) Add an optional request override configuration.sageMakerPublicHubContentArn
(String sageMakerPublicHubContentArn) The ARN of the public hub content to reference.tags
(Collection<Tag> tags) Any tags associated with the hub content to reference.tags
(Consumer<Tag.Builder>... tags) Any tags associated with the hub content to reference.Any tags associated with the hub content to reference.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, sdkFields
-
Method Details
-
hubName
The name of the hub to add the hub content reference to.
- Parameters:
hubName
- The name of the hub to add the hub content reference to.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
sageMakerPublicHubContentArn
CreateHubContentReferenceRequest.Builder sageMakerPublicHubContentArn(String sageMakerPublicHubContentArn) The ARN of the public hub content to reference.
- Parameters:
sageMakerPublicHubContentArn
- The ARN of the public hub content to reference.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
hubContentName
The name of the hub content to reference.
- Parameters:
hubContentName
- The name of the hub content to reference.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
minVersion
The minimum version of the hub content to reference.
- Parameters:
minVersion
- The minimum version of the hub content to reference.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
tags
Any tags associated with the hub content to reference.
- Parameters:
tags
- Any tags associated with the hub content to reference.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
tags
Any tags associated with the hub content to reference.
- Parameters:
tags
- Any tags associated with the hub content to reference.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
tags
Any tags associated with the hub content to reference.
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 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
CreateHubContentReferenceRequest.Builder overrideConfiguration(AwsRequestOverrideConfiguration overrideConfiguration) Description copied from interface:AwsRequest.Builder
Add an optional request override configuration.- Specified by:
overrideConfiguration
in interfaceAwsRequest.Builder
- Parameters:
overrideConfiguration
- The override configuration.- Returns:
- This object for method chaining.
-
overrideConfiguration
CreateHubContentReferenceRequest.Builder overrideConfiguration(Consumer<AwsRequestOverrideConfiguration.Builder> builderConsumer) Description copied from interface:AwsRequest.Builder
Add an optional request override configuration.- Specified by:
overrideConfiguration
in interfaceAwsRequest.Builder
- Parameters:
builderConsumer
- AConsumer
to which an emptyAwsRequestOverrideConfiguration.Builder
will be given.- Returns:
- This object for method chaining.
-