Interface DescribeHubResponse.Builder
- All Superinterfaces:
AwsResponse.Builder
,Buildable
,CopyableBuilder<DescribeHubResponse.Builder,
,DescribeHubResponse> SageMakerResponse.Builder
,SdkBuilder<DescribeHubResponse.Builder,
,DescribeHubResponse> SdkPojo
,SdkResponse.Builder
- Enclosing class:
DescribeHubResponse
public static interface DescribeHubResponse.Builder
extends SageMakerResponse.Builder, SdkPojo, CopyableBuilder<DescribeHubResponse.Builder,DescribeHubResponse>
-
Method Summary
Modifier and TypeMethodDescriptioncreationTime
(Instant creationTime) The date and time that the hub was created.failureReason
(String failureReason) The failure reason if importing hub content failed.The Amazon Resource Name (ARN) of the hub.hubDescription
(String hubDescription) A description of the hub.hubDisplayName
(String hubDisplayName) The display name of the hub.The name of the hub.hubSearchKeywords
(String... hubSearchKeywords) The searchable keywords for the hub.hubSearchKeywords
(Collection<String> hubSearchKeywords) The searchable keywords for the hub.The status of the hub.The status of the hub.lastModifiedTime
(Instant lastModifiedTime) The date and time that the hub was last modified.default DescribeHubResponse.Builder
s3StorageConfig
(Consumer<HubS3StorageConfig.Builder> s3StorageConfig) The Amazon S3 storage configuration for the hub.s3StorageConfig
(HubS3StorageConfig s3StorageConfig) The Amazon S3 storage configuration for the hub.Methods inherited from interface software.amazon.awssdk.utils.builder.CopyableBuilder
copy
Methods inherited from interface software.amazon.awssdk.services.sagemaker.model.SageMakerResponse.Builder
build, responseMetadata, responseMetadata
Methods inherited from interface software.amazon.awssdk.utils.builder.SdkBuilder
applyMutation, build
Methods inherited from interface software.amazon.awssdk.core.SdkPojo
equalsBySdkFields, sdkFields
Methods inherited from interface software.amazon.awssdk.core.SdkResponse.Builder
sdkHttpResponse, sdkHttpResponse
-
Method Details
-
hubName
The name of the hub.
- Parameters:
hubName
- The name of the hub.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
hubArn
The Amazon Resource Name (ARN) of the hub.
- Parameters:
hubArn
- The Amazon Resource Name (ARN) 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.
-
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.
-
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 DescribeHubResponse.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:
-
hubStatus
The status of the hub.
- Parameters:
hubStatus
- The status of the hub.- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-
hubStatus
The status of the hub.
- Parameters:
hubStatus
- The status of the hub.- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-
failureReason
The failure reason if importing hub content failed.
- Parameters:
failureReason
- The failure reason if importing hub content failed.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
creationTime
The date and time that the hub was created.
- Parameters:
creationTime
- The date and time that the hub was created.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
lastModifiedTime
The date and time that the hub was last modified.
- Parameters:
lastModifiedTime
- The date and time that the hub was last modified.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-