Class DiscoveryStatus
- All Implemented Interfaces:
Serializable,SdkPojo,ToCopyableBuilder<DiscoveryStatus.Builder,DiscoveryStatus>
The state of API discovery for one discovery source.
- See Also:
-
Nested Class Summary
Nested Classes -
Method Summary
Modifier and TypeMethodDescriptionfinal StringThe AWS account ID the status applies to.static DiscoveryStatus.Builderbuilder()final DiscoverySourceReturns the value of the DiscoverySource property for this object.final StringReturns the value of the DiscoverySource property for this object.final booleanfinal booleanequalsBySdkFields(Object obj) Indicates whether some other object is "equal to" this one by SDK fields.final DiscoveryFailureReasonTyped reason for failure, present only whenstatusisFAILEDfinal StringTyped reason for failure, present only whenstatusisFAILEDfinal <T> Optional<T> getValueForField(String fieldName, Class<T> clazz) final inthashCode()static Class<? extends DiscoveryStatus.Builder> final DiscoveryStatusValuestatus()The current state of discovery for this source.final StringThe current state of discovery for this source.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
-
accountId
The AWS account ID the status applies to.
- Returns:
- The AWS account ID the status applies to.
-
discoverySource
Returns the value of the DiscoverySource property for this object.If the service returns an enum value that is not available in the current SDK version,
discoverySourcewill returnDiscoverySource.UNKNOWN_TO_SDK_VERSION. The raw value returned by the service is available fromdiscoverySourceAsString().- Returns:
- The value of the DiscoverySource property for this object.
- See Also:
-
discoverySourceAsString
Returns the value of the DiscoverySource property for this object.If the service returns an enum value that is not available in the current SDK version,
discoverySourcewill returnDiscoverySource.UNKNOWN_TO_SDK_VERSION. The raw value returned by the service is available fromdiscoverySourceAsString().- Returns:
- The value of the DiscoverySource property for this object.
- See Also:
-
status
The current state of discovery for this source.
If the service returns an enum value that is not available in the current SDK version,
statuswill returnDiscoveryStatusValue.UNKNOWN_TO_SDK_VERSION. The raw value returned by the service is available fromstatusAsString().- Returns:
- The current state of discovery for this source.
- See Also:
-
statusAsString
The current state of discovery for this source.
If the service returns an enum value that is not available in the current SDK version,
statuswill returnDiscoveryStatusValue.UNKNOWN_TO_SDK_VERSION. The raw value returned by the service is available fromstatusAsString().- Returns:
- The current state of discovery for this source.
- See Also:
-
failureReason
Typed reason for failure, present only when
statusisFAILEDIf the service returns an enum value that is not available in the current SDK version,
failureReasonwill returnDiscoveryFailureReason.UNKNOWN_TO_SDK_VERSION. The raw value returned by the service is available fromfailureReasonAsString().- Returns:
- Typed reason for failure, present only when
statusisFAILED - See Also:
-
failureReasonAsString
Typed reason for failure, present only when
statusisFAILEDIf the service returns an enum value that is not available in the current SDK version,
failureReasonwill returnDiscoveryFailureReason.UNKNOWN_TO_SDK_VERSION. The raw value returned by the service is available fromfailureReasonAsString().- Returns:
- Typed reason for failure, present only when
statusisFAILED - See Also:
-
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<DiscoveryStatus.Builder,DiscoveryStatus> - 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.
-