Class AutoDetectionConfiguration
- All Implemented Interfaces:
Serializable,SdkPojo,ToCopyableBuilder<AutoDetectionConfiguration.Builder,AutoDetectionConfiguration>
The customer-defined auto-detection settings for a registry.
- See Also:
-
Nested Class Summary
Nested Classes -
Method Summary
Modifier and TypeMethodDescriptionbuilder()final Booleanenabled()Specifies whether auto-detection is requested for the registry.final booleanfinal booleanequalsBySdkFields(Object obj) Indicates whether some other object is "equal to" this one by SDK fields.final <T> Optional<T> getValueForField(String fieldName, Class<T> clazz) final inthashCode()final AutoDetectionScopescope()The source from which resources are detected.final StringThe source from which resources are detected.static Class<? extends AutoDetectionConfiguration.Builder> Take this object and create a builder that contains all of the current property values of this object.final StringtoString()Returns a string representation of this object.Methods inherited from interface software.amazon.awssdk.utils.builder.ToCopyableBuilder
copy
-
Method Details
-
scope
The source from which resources are detected. For example,
ORGANIZATIONsources resources from all member accounts of an Amazon Web Services organization.If the service returns an enum value that is not available in the current SDK version,
scopewill returnAutoDetectionScope.UNKNOWN_TO_SDK_VERSION. The raw value returned by the service is available fromscopeAsString().- Returns:
- The source from which resources are detected. For example,
ORGANIZATIONsources resources from all member accounts of an Amazon Web Services organization. - See Also:
-
scopeAsString
The source from which resources are detected. For example,
ORGANIZATIONsources resources from all member accounts of an Amazon Web Services organization.If the service returns an enum value that is not available in the current SDK version,
scopewill returnAutoDetectionScope.UNKNOWN_TO_SDK_VERSION. The raw value returned by the service is available fromscopeAsString().- Returns:
- The source from which resources are detected. For example,
ORGANIZATIONsources resources from all member accounts of an Amazon Web Services organization. - See Also:
-
enabled
Specifies whether auto-detection is requested for the registry. Setting this to
trueis necessary but not sufficient for auto-detection to become active; the preconditions of the configured scope must also be met.- Returns:
- Specifies whether auto-detection is requested for the registry. Setting this to
trueis necessary but not sufficient for auto-detection to become active; the preconditions of the configured scope must also be met.
-
toBuilder
Description copied from interface:ToCopyableBuilderTake this object and create a builder that contains all of the current property values of this object.- Specified by:
toBuilderin interfaceToCopyableBuilder<AutoDetectionConfiguration.Builder,AutoDetectionConfiguration> - Returns:
- a builder for type T
-
builder
-
serializableBuilderClass
-
hashCode
-
equals
-
equalsBySdkFields
Description copied from interface:SdkPojoIndicates whether some other object is "equal to" this one by SDK fields. An SDK field is a modeled, non-inherited field in anSdkPojoclass, and is generated based on a service model.If an
SdkPojoclass does not have any inherited fields,equalsBySdkFieldsandequalsare essentially the same.- Specified by:
equalsBySdkFieldsin interfaceSdkPojo- Parameters:
obj- the object to be compared with- Returns:
- true if the other object equals to this object by sdk fields, false otherwise.
-
toString
-
getValueForField
-
sdkFields
-
sdkFieldNameToField
- Specified by:
sdkFieldNameToFieldin interfaceSdkPojo- Returns:
- The mapping between the field name and its corresponding field.
-