Interface GetCapabilityResponse.Builder
- All Superinterfaces:
AwsResponse.Builder,Buildable,CopyableBuilder<GetCapabilityResponse.Builder,,GetCapabilityResponse> OpenSearchResponse.Builder,SdkBuilder<GetCapabilityResponse.Builder,,GetCapabilityResponse> SdkPojo,SdkResponse.Builder
- Enclosing class:
GetCapabilityResponse
-
Method Summary
Modifier and TypeMethodDescriptionapplicationId(String applicationId) The unique identifier of the OpenSearch UI application.default GetCapabilityResponse.BuildercapabilityConfig(Consumer<CapabilityExtendedResponseConfig.Builder> capabilityConfig) The configuration settings for the capability, including capability-specific settings such as AI configuration.capabilityConfig(CapabilityExtendedResponseConfig capabilityConfig) The configuration settings for the capability, including capability-specific settings such as AI configuration.capabilityName(String capabilityName) The name of the capability.failures(Collection<CapabilityFailure> failures) A list of failures associated with the capability, if any.failures(Consumer<CapabilityFailure.Builder>... failures) A list of failures associated with the capability, if any.failures(CapabilityFailure... failures) A list of failures associated with the capability, if any.The current status of the capability.status(CapabilityStatus status) The current status of the capability.Methods inherited from interface software.amazon.awssdk.utils.builder.CopyableBuilder
copyMethods inherited from interface software.amazon.awssdk.services.opensearch.model.OpenSearchResponse.Builder
build, responseMetadata, responseMetadataMethods inherited from interface software.amazon.awssdk.utils.builder.SdkBuilder
applyMutation, buildMethods inherited from interface software.amazon.awssdk.core.SdkPojo
equalsBySdkFields, sdkFieldNameToField, sdkFieldsMethods inherited from interface software.amazon.awssdk.core.SdkResponse.Builder
sdkHttpResponse, sdkHttpResponse
-
Method Details
-
capabilityName
The name of the capability.
- Parameters:
capabilityName- The name of the capability.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
applicationId
The unique identifier of the OpenSearch UI application.
- Parameters:
applicationId- The unique identifier of the OpenSearch UI application.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
status
The current status of the capability. Possible values:
creating,create_failed,active,updating,update_failed,deleting,delete_failed.- Parameters:
status- The current status of the capability. Possible values:creating,create_failed,active,updating,update_failed,deleting,delete_failed.- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-
status
The current status of the capability. Possible values:
creating,create_failed,active,updating,update_failed,deleting,delete_failed.- Parameters:
status- The current status of the capability. Possible values:creating,create_failed,active,updating,update_failed,deleting,delete_failed.- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-
capabilityConfig
The configuration settings for the capability, including capability-specific settings such as AI configuration.
- Parameters:
capabilityConfig- The configuration settings for the capability, including capability-specific settings such as AI configuration.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
capabilityConfig
default GetCapabilityResponse.Builder capabilityConfig(Consumer<CapabilityExtendedResponseConfig.Builder> capabilityConfig) The configuration settings for the capability, including capability-specific settings such as AI configuration.
This is a convenience method that creates an instance of theCapabilityExtendedResponseConfig.Builderavoiding the need to create one manually viaCapabilityExtendedResponseConfig.builder().When the
Consumercompletes,SdkBuilder.build()is called immediately and its result is passed tocapabilityConfig(CapabilityExtendedResponseConfig).- Parameters:
capabilityConfig- a consumer that will call methods onCapabilityExtendedResponseConfig.Builder- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-
failures
A list of failures associated with the capability, if any. Each failure includes a reason and details about what went wrong.
- Parameters:
failures- A list of failures associated with the capability, if any. Each failure includes a reason and details about what went wrong.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
failures
A list of failures associated with the capability, if any. Each failure includes a reason and details about what went wrong.
- Parameters:
failures- A list of failures associated with the capability, if any. Each failure includes a reason and details about what went wrong.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
failures
A list of failures associated with the capability, if any. Each failure includes a reason and details about what went wrong.
This is a convenience method that creates an instance of theCapabilityFailure.Builderavoiding the need to create one manually viaCapabilityFailure.builder().When the
Consumercompletes,SdkBuilder.build()is called immediately and its result is passed tofailures(List<CapabilityFailure>).- Parameters:
failures- a consumer that will call methods onCapabilityFailure.Builder- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-