@Generated(value="com.amazonaws:aws-java-sdk-code-generator") public class FailureDescription extends Object implements Serializable, Cloneable, StructuredPojo
Provides details in case one of the following operations fails due to an error related to KMS: CreateDeliveryStream, DeleteDeliveryStream, StartDeliveryStreamEncryption, StopDeliveryStreamEncryption.
| Constructor and Description |
|---|
FailureDescription() |
| Modifier and Type | Method and Description |
|---|---|
FailureDescription |
clone() |
boolean |
equals(Object obj) |
String |
getDetails()
A message providing details about the error that caused the failure.
|
String |
getType()
The type of error that caused the failure.
|
int |
hashCode() |
void |
marshall(ProtocolMarshaller protocolMarshaller)
Marshalls this structured data using the given
ProtocolMarshaller. |
void |
setDetails(String details)
A message providing details about the error that caused the failure.
|
void |
setType(String type)
The type of error that caused the failure.
|
String |
toString()
Returns a string representation of this object.
|
FailureDescription |
withDetails(String details)
A message providing details about the error that caused the failure.
|
FailureDescription |
withType(DeliveryStreamFailureType type)
The type of error that caused the failure.
|
FailureDescription |
withType(String type)
The type of error that caused the failure.
|
public void setType(String type)
The type of error that caused the failure.
type - The type of error that caused the failure.DeliveryStreamFailureTypepublic String getType()
The type of error that caused the failure.
DeliveryStreamFailureTypepublic FailureDescription withType(String type)
The type of error that caused the failure.
type - The type of error that caused the failure.DeliveryStreamFailureTypepublic FailureDescription withType(DeliveryStreamFailureType type)
The type of error that caused the failure.
type - The type of error that caused the failure.DeliveryStreamFailureTypepublic void setDetails(String details)
A message providing details about the error that caused the failure.
details - A message providing details about the error that caused the failure.public String getDetails()
A message providing details about the error that caused the failure.
public FailureDescription withDetails(String details)
A message providing details about the error that caused the failure.
details - A message providing details about the error that caused the failure.public String toString()
toString in class ObjectObject.toString()public FailureDescription clone()
public void marshall(ProtocolMarshaller protocolMarshaller)
StructuredPojoProtocolMarshaller.marshall in interface StructuredPojoprotocolMarshaller - Implementation of ProtocolMarshaller used to marshall this object's data.