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
All Methods Instance Methods Abstract Methods Default Methods Modifier and Type Method Description DescribeHubResponse.Builder
creationTime(Instant creationTime)
The date and time that the hub was created.DescribeHubResponse.Builder
failureReason(String failureReason)
The failure reason if importing hub content failed.DescribeHubResponse.Builder
hubArn(String hubArn)
The Amazon Resource Name (ARN) of the hub.DescribeHubResponse.Builder
hubDescription(String hubDescription)
A description of the hub.DescribeHubResponse.Builder
hubDisplayName(String hubDisplayName)
The display name of the hub.DescribeHubResponse.Builder
hubName(String hubName)
The name of the hub.DescribeHubResponse.Builder
hubSearchKeywords(String... hubSearchKeywords)
The searchable keywords for the hub.DescribeHubResponse.Builder
hubSearchKeywords(Collection<String> hubSearchKeywords)
The searchable keywords for the hub.DescribeHubResponse.Builder
hubStatus(String hubStatus)
The status of the hub.DescribeHubResponse.Builder
hubStatus(HubStatus hubStatus)
The status of the hub.DescribeHubResponse.Builder
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.DescribeHubResponse.Builder
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, sdkFieldNameToField, sdkFields
-
Methods inherited from interface software.amazon.awssdk.core.SdkResponse.Builder
sdkHttpResponse, sdkHttpResponse
-
-
-
-
Method Detail
-
hubName
DescribeHubResponse.Builder hubName(String 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
DescribeHubResponse.Builder hubArn(String 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
DescribeHubResponse.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.
-
hubDescription
DescribeHubResponse.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.
-
hubSearchKeywords
DescribeHubResponse.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
DescribeHubResponse.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
DescribeHubResponse.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 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:
s3StorageConfig(HubS3StorageConfig)
-
hubStatus
DescribeHubResponse.Builder hubStatus(String hubStatus)
The status of the hub.
-
hubStatus
DescribeHubResponse.Builder hubStatus(HubStatus hubStatus)
The status of the hub.
-
failureReason
DescribeHubResponse.Builder failureReason(String 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
DescribeHubResponse.Builder creationTime(Instant 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
DescribeHubResponse.Builder lastModifiedTime(Instant 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.
-
-