Class PartialFailure
- java.lang.Object
-
- software.amazon.awssdk.services.cloudwatch.model.PartialFailure
-
- All Implemented Interfaces:
Serializable,SdkPojo,ToCopyableBuilder<PartialFailure.Builder,PartialFailure>
@Generated("software.amazon.awssdk:codegen") public final class PartialFailure extends Object implements SdkPojo, Serializable, ToCopyableBuilder<PartialFailure.Builder,PartialFailure>
This array is empty if the API operation was successful for all the rules specified in the request. If the operation could not process one of the rules, the following data is returned for each of those rules.
- See Also:
- Serialized Form
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static interfacePartialFailure.Builder
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description static PartialFailure.Builderbuilder()booleanequals(Object obj)booleanequalsBySdkFields(Object obj)StringexceptionType()The type of error.StringfailureCode()The code of the error.StringfailureDescription()A description of the error.StringfailureResource()The specified rule that could not be deleted.<T> Optional<T>getValueForField(String fieldName, Class<T> clazz)inthashCode()List<SdkField<?>>sdkFields()static Class<? extends PartialFailure.Builder>serializableBuilderClass()PartialFailure.BuildertoBuilder()StringtoString()Returns a string representation of this object.-
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
-
failureResource
public final String failureResource()
The specified rule that could not be deleted.
- Returns:
- The specified rule that could not be deleted.
-
exceptionType
public final String exceptionType()
The type of error.
- Returns:
- The type of error.
-
failureCode
public final String failureCode()
The code of the error.
- Returns:
- The code of the error.
-
failureDescription
public final String failureDescription()
A description of the error.
- Returns:
- A description of the error.
-
toBuilder
public PartialFailure.Builder toBuilder()
- Specified by:
toBuilderin interfaceToCopyableBuilder<PartialFailure.Builder,PartialFailure>
-
builder
public static PartialFailure.Builder builder()
-
serializableBuilderClass
public static Class<? extends PartialFailure.Builder> serializableBuilderClass()
-
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.
-
-