@Generated(value="software.amazon.awssdk:codegen") public final class FailureDescription extends Object implements SdkPojo, Serializable, ToCopyableBuilder<FailureDescription.Builder,FailureDescription>
Provides details in case one of the following operations fails due to an error related to KMS: CreateDeliveryStream, DeleteDeliveryStream, StartDeliveryStreamEncryption, StopDeliveryStreamEncryption.
Modifier and Type | Class and Description |
---|---|
static interface |
FailureDescription.Builder |
Modifier and Type | Method and Description |
---|---|
static FailureDescription.Builder |
builder() |
String |
details()
A message providing details about the error that caused the failure.
|
boolean |
equals(Object obj) |
boolean |
equalsBySdkFields(Object obj) |
<T> Optional<T> |
getValueForField(String fieldName,
Class<T> clazz) |
int |
hashCode() |
List<SdkField<?>> |
sdkFields() |
static Class<? extends FailureDescription.Builder> |
serializableBuilderClass() |
FailureDescription.Builder |
toBuilder() |
String |
toString()
Returns a string representation of this object.
|
DeliveryStreamFailureType |
type()
The type of error that caused the failure.
|
String |
typeAsString()
The type of error that caused the failure.
|
clone, finalize, getClass, notify, notifyAll, wait, wait, wait
copy
public final DeliveryStreamFailureType type()
The type of error that caused the failure.
If the service returns an enum value that is not available in the current SDK version, type
will return
DeliveryStreamFailureType.UNKNOWN_TO_SDK_VERSION
. The raw value returned by the service is available from
typeAsString()
.
DeliveryStreamFailureType
public final String typeAsString()
The type of error that caused the failure.
If the service returns an enum value that is not available in the current SDK version, type
will return
DeliveryStreamFailureType.UNKNOWN_TO_SDK_VERSION
. The raw value returned by the service is available from
typeAsString()
.
DeliveryStreamFailureType
public final String details()
A message providing details about the error that caused the failure.
public FailureDescription.Builder toBuilder()
toBuilder
in interface ToCopyableBuilder<FailureDescription.Builder,FailureDescription>
public static FailureDescription.Builder builder()
public static Class<? extends FailureDescription.Builder> serializableBuilderClass()
public final boolean equalsBySdkFields(Object obj)
equalsBySdkFields
in interface SdkPojo
public final String toString()
Copyright © 2021. All rights reserved.