Interface GetRetrieverResponse.Builder
- All Superinterfaces:
AwsResponse.Builder
,Buildable
,CopyableBuilder<GetRetrieverResponse.Builder,
,GetRetrieverResponse> QBusinessResponse.Builder
,SdkBuilder<GetRetrieverResponse.Builder,
,GetRetrieverResponse> SdkPojo
,SdkResponse.Builder
- Enclosing class:
GetRetrieverResponse
@Mutable
@NotThreadSafe
public static interface GetRetrieverResponse.Builder
extends QBusinessResponse.Builder, SdkPojo, CopyableBuilder<GetRetrieverResponse.Builder,GetRetrieverResponse>
-
Method Summary
Modifier and TypeMethodDescriptionapplicationId
(String applicationId) The identifier of the Amazon Q Business application using the retriever.default GetRetrieverResponse.Builder
configuration
(Consumer<RetrieverConfiguration.Builder> configuration) Sets the value of the Configuration property for this object.configuration
(RetrieverConfiguration configuration) Sets the value of the Configuration property for this object.The Unix timestamp when the retriever was created.displayName
(String displayName) The name of the retriever.retrieverArn
(String retrieverArn) The Amazon Resource Name (ARN) of the IAM role associated with the retriever.retrieverId
(String retrieverId) The identifier of the retriever.The Amazon Resource Name (ARN) of the role with the permission to access the retriever and required resources.The status of the retriever.status
(RetrieverStatus status) The status of the retriever.The type of the retriever.type
(RetrieverType type) The type of the retriever.The Unix timestamp when the retriever was last updated.Methods inherited from interface software.amazon.awssdk.utils.builder.CopyableBuilder
copy
Methods inherited from interface software.amazon.awssdk.services.qbusiness.model.QBusinessResponse.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 Details
-
applicationId
The identifier of the Amazon Q Business application using the retriever.
- Parameters:
applicationId
- The identifier of the Amazon Q Business application using the retriever.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
retrieverId
The identifier of the retriever.
- Parameters:
retrieverId
- The identifier of the retriever.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
retrieverArn
The Amazon Resource Name (ARN) of the IAM role associated with the retriever.
- Parameters:
retrieverArn
- The Amazon Resource Name (ARN) of the IAM role associated with the retriever.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
type
The type of the retriever.
- Parameters:
type
- The type of the retriever.- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-
type
The type of the retriever.
- Parameters:
type
- The type of the retriever.- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-
status
The status of the retriever.
- Parameters:
status
- The status of the retriever.- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-
status
The status of the retriever.
- Parameters:
status
- The status of the retriever.- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-
displayName
The name of the retriever.
- Parameters:
displayName
- The name of the retriever.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
configuration
Sets the value of the Configuration property for this object.- Parameters:
configuration
- The new value for the Configuration property for this object.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
configuration
default GetRetrieverResponse.Builder configuration(Consumer<RetrieverConfiguration.Builder> configuration) Sets the value of the Configuration property for this object. This is a convenience method that creates an instance of theRetrieverConfiguration.Builder
avoiding the need to create one manually viaRetrieverConfiguration.builder()
.When the
Consumer
completes,SdkBuilder.build()
is called immediately and its result is passed toconfiguration(RetrieverConfiguration)
.- Parameters:
configuration
- a consumer that will call methods onRetrieverConfiguration.Builder
- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-
roleArn
The Amazon Resource Name (ARN) of the role with the permission to access the retriever and required resources.
- Parameters:
roleArn
- The Amazon Resource Name (ARN) of the role with the permission to access the retriever and required resources.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
createdAt
The Unix timestamp when the retriever was created.
- Parameters:
createdAt
- The Unix timestamp when the retriever was created.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
updatedAt
The Unix timestamp when the retriever was last updated.
- Parameters:
updatedAt
- The Unix timestamp when the retriever was last updated.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-