Class ImportFailureListItem
- java.lang.Object
-
- software.amazon.awssdk.services.cloudtrail.model.ImportFailureListItem
-
- All Implemented Interfaces:
Serializable,SdkPojo,ToCopyableBuilder<ImportFailureListItem.Builder,ImportFailureListItem>
@Generated("software.amazon.awssdk:codegen") public final class ImportFailureListItem extends Object implements SdkPojo, Serializable, ToCopyableBuilder<ImportFailureListItem.Builder,ImportFailureListItem>
Provides information about an import failure.
- See Also:
- Serialized Form
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static interfaceImportFailureListItem.Builder
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description static ImportFailureListItem.Builderbuilder()booleanequals(Object obj)booleanequalsBySdkFields(Object obj)StringerrorMessage()Provides the reason the import failed.StringerrorType()The type of import error.<T> Optional<T>getValueForField(String fieldName, Class<T> clazz)inthashCode()InstantlastUpdatedTime()When the import was last updated.Stringlocation()The location of the failure in the S3 bucket.List<SdkField<?>>sdkFields()static Class<? extends ImportFailureListItem.Builder>serializableBuilderClass()ImportFailureStatusstatus()The status of the import.StringstatusAsString()The status of the import.ImportFailureListItem.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
-
location
public final String location()
The location of the failure in the S3 bucket.
- Returns:
- The location of the failure in the S3 bucket.
-
status
public final ImportFailureStatus status()
The status of the import.
If the service returns an enum value that is not available in the current SDK version,
statuswill returnImportFailureStatus.UNKNOWN_TO_SDK_VERSION. The raw value returned by the service is available fromstatusAsString().- Returns:
- The status of the import.
- See Also:
ImportFailureStatus
-
statusAsString
public final String statusAsString()
The status of the import.
If the service returns an enum value that is not available in the current SDK version,
statuswill returnImportFailureStatus.UNKNOWN_TO_SDK_VERSION. The raw value returned by the service is available fromstatusAsString().- Returns:
- The status of the import.
- See Also:
ImportFailureStatus
-
errorType
public final String errorType()
The type of import error.
- Returns:
- The type of import error.
-
errorMessage
public final String errorMessage()
Provides the reason the import failed.
- Returns:
- Provides the reason the import failed.
-
lastUpdatedTime
public final Instant lastUpdatedTime()
When the import was last updated.
- Returns:
- When the import was last updated.
-
toBuilder
public ImportFailureListItem.Builder toBuilder()
- Specified by:
toBuilderin interfaceToCopyableBuilder<ImportFailureListItem.Builder,ImportFailureListItem>
-
builder
public static ImportFailureListItem.Builder builder()
-
serializableBuilderClass
public static Class<? extends ImportFailureListItem.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.
-
-