Interface RegisterCapabilityResponse.Builder
- All Superinterfaces:
AwsResponse.Builder,Buildable,CopyableBuilder<RegisterCapabilityResponse.Builder,,RegisterCapabilityResponse> OpenSearchResponse.Builder,SdkBuilder<RegisterCapabilityResponse.Builder,,RegisterCapabilityResponse> SdkPojo,SdkResponse.Builder
- Enclosing class:
RegisterCapabilityResponse
@Mutable
@NotThreadSafe
public static interface RegisterCapabilityResponse.Builder
extends OpenSearchResponse.Builder, SdkPojo, CopyableBuilder<RegisterCapabilityResponse.Builder,RegisterCapabilityResponse>
-
Method Summary
Modifier and TypeMethodDescriptionapplicationId(String applicationId) The unique identifier of the OpenSearch UI application.capabilityConfig(Consumer<CapabilityBaseResponseConfig.Builder> capabilityConfig) The configuration settings for the registered capability.capabilityConfig(CapabilityBaseResponseConfig capabilityConfig) The configuration settings for the registered capability.capabilityName(String capabilityName) The name of the registered capability.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 registered capability.
- Parameters:
capabilityName- The name of the registered 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 registered capability.
- Parameters:
capabilityConfig- The configuration settings for the registered capability.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
capabilityConfig
default RegisterCapabilityResponse.Builder capabilityConfig(Consumer<CapabilityBaseResponseConfig.Builder> capabilityConfig) The configuration settings for the registered capability.
This is a convenience method that creates an instance of theCapabilityBaseResponseConfig.Builderavoiding the need to create one manually viaCapabilityBaseResponseConfig.builder().When the
Consumercompletes,SdkBuilder.build()is called immediately and its result is passed tocapabilityConfig(CapabilityBaseResponseConfig).- Parameters:
capabilityConfig- a consumer that will call methods onCapabilityBaseResponseConfig.Builder- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-