Class DescribeAnomalyDetectorResponse
- java.lang.Object
-
- software.amazon.awssdk.core.SdkResponse
-
- software.amazon.awssdk.awscore.AwsResponse
-
- software.amazon.awssdk.services.lookoutmetrics.model.LookoutMetricsResponse
-
- software.amazon.awssdk.services.lookoutmetrics.model.DescribeAnomalyDetectorResponse
-
- All Implemented Interfaces:
SdkPojo,ToCopyableBuilder<DescribeAnomalyDetectorResponse.Builder,DescribeAnomalyDetectorResponse>
@Generated("software.amazon.awssdk:codegen") public final class DescribeAnomalyDetectorResponse extends LookoutMetricsResponse implements ToCopyableBuilder<DescribeAnomalyDetectorResponse.Builder,DescribeAnomalyDetectorResponse>
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static interfaceDescribeAnomalyDetectorResponse.Builder
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description StringanomalyDetectorArn()The ARN of the detector.AnomalyDetectorConfigSummaryanomalyDetectorConfig()Contains information about the detector's configuration.StringanomalyDetectorDescription()A description of the detector.StringanomalyDetectorName()The name of the detector.static DescribeAnomalyDetectorResponse.Builderbuilder()InstantcreationTime()The time at which the detector was created.booleanequals(Object obj)booleanequalsBySdkFields(Object obj)StringfailureReason()The reason that the detector failed.AnomalyDetectorFailureTypefailureType()The process that caused the detector to fail.StringfailureTypeAsString()The process that caused the detector to fail.<T> Optional<T>getValueForField(String fieldName, Class<T> clazz)inthashCode()StringkmsKeyArn()The ARN of the KMS key to use to encrypt your data.InstantlastModificationTime()The time at which the detector was last modified.List<SdkField<?>>sdkFields()static Class<? extends DescribeAnomalyDetectorResponse.Builder>serializableBuilderClass()AnomalyDetectorStatusstatus()The status of the detector.StringstatusAsString()The status of the detector.DescribeAnomalyDetectorResponse.BuildertoBuilder()StringtoString()Returns a string representation of this object.-
Methods inherited from class software.amazon.awssdk.services.lookoutmetrics.model.LookoutMetricsResponse
responseMetadata
-
Methods inherited from class software.amazon.awssdk.core.SdkResponse
sdkHttpResponse
-
Methods inherited from class java.lang.Object
clone, finalize, getClass, notify, notifyAll, wait, wait, wait
-
Methods inherited from interface software.amazon.awssdk.utils.builder.ToCopyableBuilder
copy
-
-
-
-
Method Detail
-
anomalyDetectorArn
public final String anomalyDetectorArn()
The ARN of the detector.
- Returns:
- The ARN of the detector.
-
anomalyDetectorName
public final String anomalyDetectorName()
The name of the detector.
- Returns:
- The name of the detector.
-
anomalyDetectorDescription
public final String anomalyDetectorDescription()
A description of the detector.
- Returns:
- A description of the detector.
-
anomalyDetectorConfig
public final AnomalyDetectorConfigSummary anomalyDetectorConfig()
Contains information about the detector's configuration.
- Returns:
- Contains information about the detector's configuration.
-
creationTime
public final Instant creationTime()
The time at which the detector was created.
- Returns:
- The time at which the detector was created.
-
lastModificationTime
public final Instant lastModificationTime()
The time at which the detector was last modified.
- Returns:
- The time at which the detector was last modified.
-
status
public final AnomalyDetectorStatus status()
The status of the detector.
If the service returns an enum value that is not available in the current SDK version,
statuswill returnAnomalyDetectorStatus.UNKNOWN_TO_SDK_VERSION. The raw value returned by the service is available fromstatusAsString().- Returns:
- The status of the detector.
- See Also:
AnomalyDetectorStatus
-
statusAsString
public final String statusAsString()
The status of the detector.
If the service returns an enum value that is not available in the current SDK version,
statuswill returnAnomalyDetectorStatus.UNKNOWN_TO_SDK_VERSION. The raw value returned by the service is available fromstatusAsString().- Returns:
- The status of the detector.
- See Also:
AnomalyDetectorStatus
-
failureReason
public final String failureReason()
The reason that the detector failed.
- Returns:
- The reason that the detector failed.
-
kmsKeyArn
public final String kmsKeyArn()
The ARN of the KMS key to use to encrypt your data.
- Returns:
- The ARN of the KMS key to use to encrypt your data.
-
failureType
public final AnomalyDetectorFailureType failureType()
The process that caused the detector to fail.
If the service returns an enum value that is not available in the current SDK version,
failureTypewill returnAnomalyDetectorFailureType.UNKNOWN_TO_SDK_VERSION. The raw value returned by the service is available fromfailureTypeAsString().- Returns:
- The process that caused the detector to fail.
- See Also:
AnomalyDetectorFailureType
-
failureTypeAsString
public final String failureTypeAsString()
The process that caused the detector to fail.
If the service returns an enum value that is not available in the current SDK version,
failureTypewill returnAnomalyDetectorFailureType.UNKNOWN_TO_SDK_VERSION. The raw value returned by the service is available fromfailureTypeAsString().- Returns:
- The process that caused the detector to fail.
- See Also:
AnomalyDetectorFailureType
-
toBuilder
public DescribeAnomalyDetectorResponse.Builder toBuilder()
- Specified by:
toBuilderin interfaceToCopyableBuilder<DescribeAnomalyDetectorResponse.Builder,DescribeAnomalyDetectorResponse>- Specified by:
toBuilderin classAwsResponse
-
builder
public static DescribeAnomalyDetectorResponse.Builder builder()
-
serializableBuilderClass
public static Class<? extends DescribeAnomalyDetectorResponse.Builder> serializableBuilderClass()
-
hashCode
public final int hashCode()
- Overrides:
hashCodein classAwsResponse
-
equals
public final boolean equals(Object obj)
- Overrides:
equalsin classAwsResponse
-
equalsBySdkFields
public final boolean equalsBySdkFields(Object obj)
- Specified by:
equalsBySdkFieldsin interfaceSdkPojo
-
toString
public final String toString()
Returns a string representation of this object. This is useful for testing and debugging. Sensitive data will be redacted from this string using a placeholder value.
-
getValueForField
public final <T> Optional<T> getValueForField(String fieldName, Class<T> clazz)
- Overrides:
getValueForFieldin classSdkResponse
-
-