Interface GetRetrieverResponse.Builder
-
- All Superinterfaces:
AwsResponse.Builder,Buildable,CopyableBuilder<GetRetrieverResponse.Builder,GetRetrieverResponse>,QBusinessResponse.Builder,SdkBuilder<GetRetrieverResponse.Builder,GetRetrieverResponse>,SdkPojo,SdkResponse.Builder
- Enclosing class:
- GetRetrieverResponse
public static interface GetRetrieverResponse.Builder extends QBusinessResponse.Builder, SdkPojo, CopyableBuilder<GetRetrieverResponse.Builder,GetRetrieverResponse>
-
-
Method Summary
All Methods Instance Methods Abstract Methods Default Methods Modifier and Type Method Description GetRetrieverResponse.BuilderapplicationId(String applicationId)The identifier of the Amazon Q Business application using the retriever.default GetRetrieverResponse.Builderconfiguration(Consumer<RetrieverConfiguration.Builder> configuration)Sets the value of the Configuration property for this object.GetRetrieverResponse.Builderconfiguration(RetrieverConfiguration configuration)Sets the value of the Configuration property for this object.GetRetrieverResponse.BuildercreatedAt(Instant createdAt)The Unix timestamp when the retriever was created.GetRetrieverResponse.BuilderdisplayName(String displayName)The name of the retriever.GetRetrieverResponse.BuilderretrieverArn(String retrieverArn)The Amazon Resource Name (ARN) of the IAM role associated with the retriever.GetRetrieverResponse.BuilderretrieverId(String retrieverId)The identifier of the retriever.GetRetrieverResponse.BuilderroleArn(String roleArn)The Amazon Resource Name (ARN) of the role with the permission to access the retriever and required resources.GetRetrieverResponse.Builderstatus(String status)The status of the retriever.GetRetrieverResponse.Builderstatus(RetrieverStatus status)The status of the retriever.GetRetrieverResponse.Buildertype(String type)The type of the retriever.GetRetrieverResponse.Buildertype(RetrieverType type)The type of the retriever.GetRetrieverResponse.BuilderupdatedAt(Instant updatedAt)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, sdkFields
-
Methods inherited from interface software.amazon.awssdk.core.SdkResponse.Builder
sdkHttpResponse, sdkHttpResponse
-
-
-
-
Method Detail
-
applicationId
GetRetrieverResponse.Builder applicationId(String 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
GetRetrieverResponse.Builder retrieverId(String 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
GetRetrieverResponse.Builder retrieverArn(String 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
GetRetrieverResponse.Builder type(String 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:
RetrieverType,RetrieverType
-
type
GetRetrieverResponse.Builder type(RetrieverType 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:
RetrieverType,RetrieverType
-
status
GetRetrieverResponse.Builder status(String 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:
RetrieverStatus,RetrieverStatus
-
status
GetRetrieverResponse.Builder status(RetrieverStatus 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:
RetrieverStatus,RetrieverStatus
-
displayName
GetRetrieverResponse.Builder displayName(String 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
GetRetrieverResponse.Builder configuration(RetrieverConfiguration 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.Builderavoiding the need to create one manually viaRetrieverConfiguration.builder().When the
Consumercompletes,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:
configuration(RetrieverConfiguration)
-
roleArn
GetRetrieverResponse.Builder roleArn(String 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
GetRetrieverResponse.Builder createdAt(Instant 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
GetRetrieverResponse.Builder updatedAt(Instant 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.
-
-