Interface AutoDetection.Builder
- All Superinterfaces:
Buildable,CopyableBuilder<AutoDetection.Builder,,AutoDetection> SdkBuilder<AutoDetection.Builder,,AutoDetection> SdkPojo
- Enclosing class:
AutoDetection
-
Method Summary
Modifier and TypeMethodDescriptiondefault AutoDetection.Builderconfiguration(Consumer<AutoDetectionConfiguration.Builder> configuration) The auto-detection settings that control how resources are discovered for the registry.configuration(AutoDetectionConfiguration configuration) The auto-detection settings that control how resources are discovered for the registry.The current auto-detection status.status(AutoDetectionStatus status) The current auto-detection status.statusReason(String statusReason) A human-readable explanation of the current auto-detection status.Methods inherited from interface software.amazon.awssdk.utils.builder.CopyableBuilder
copyMethods inherited from interface software.amazon.awssdk.utils.builder.SdkBuilder
applyMutation, buildMethods inherited from interface software.amazon.awssdk.core.SdkPojo
equalsBySdkFields, sdkFieldNameToField, sdkFields
-
Method Details
-
configuration
The auto-detection settings that control how resources are discovered for the registry.
- Parameters:
configuration- The auto-detection settings that control how resources are discovered for the registry.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
configuration
default AutoDetection.Builder configuration(Consumer<AutoDetectionConfiguration.Builder> configuration) The auto-detection settings that control how resources are discovered for the registry.
This is a convenience method that creates an instance of theAutoDetectionConfiguration.Builderavoiding the need to create one manually viaAutoDetectionConfiguration.builder().When the
Consumercompletes,SdkBuilder.build()is called immediately and its result is passed toconfiguration(AutoDetectionConfiguration).- Parameters:
configuration- a consumer that will call methods onAutoDetectionConfiguration.Builder- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-
status
The current auto-detection status.
ACTIVEindicates that the registry is actively being populated with detected resources.INACTIVEindicates that the preconditions required at the configured scope are not currently met.- Parameters:
status- The current auto-detection status.ACTIVEindicates that the registry is actively being populated with detected resources.INACTIVEindicates that the preconditions required at the configured scope are not currently met.- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-
status
The current auto-detection status.
ACTIVEindicates that the registry is actively being populated with detected resources.INACTIVEindicates that the preconditions required at the configured scope are not currently met.- Parameters:
status- The current auto-detection status.ACTIVEindicates that the registry is actively being populated with detected resources.INACTIVEindicates that the preconditions required at the configured scope are not currently met.- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-
statusReason
A human-readable explanation of the current auto-detection status. Typically populated when the status requires additional context.
- Parameters:
statusReason- A human-readable explanation of the current auto-detection status. Typically populated when the status requires additional context.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-