Class ConflictException

All Implemented Interfaces:
Serializable, SdkPojo, ToCopyableBuilder<ConflictException.Builder,ConflictException>

@Generated("software.amazon.awssdk:codegen") public final class ConflictException extends IdentitystoreException implements ToCopyableBuilder<ConflictException.Builder,ConflictException>

This request cannot be completed for one of the following reasons:

  • Performing the requested operation would violate an existing uniqueness claim in the identity store. Resolve the conflict before retrying this request.

  • The requested resource was being concurrently modified by another request.

See Also:
  • Method Details

    • toBuilder

      public ConflictException.Builder toBuilder()
      Description copied from class: AwsServiceException
      Create a AwsServiceException.Builder initialized with the properties of this AwsServiceException.
      Specified by:
      toBuilder in interface ToCopyableBuilder<ConflictException.Builder,ConflictException>
      Overrides:
      toBuilder in class IdentitystoreException
      Returns:
      A new builder initialized with this config's properties.
    • builder

      public static ConflictException.Builder builder()
    • serializableBuilderClass

      public static Class<? extends ConflictException.Builder> serializableBuilderClass()
    • requestIdValue

      public String requestIdValue()

      The identifier for each request. This value is a globally unique ID that is generated by the identity store service for each sent request, and is then returned inside the exception if the request fails.

      Returns:
      The identifier for each request. This value is a globally unique ID that is generated by the identity store service for each sent request, and is then returned inside the exception if the request fails.
    • reason

      public ConflictExceptionReason reason()

      This request cannot be completed for one of the following reasons:

      • Performing the requested operation would violate an existing uniqueness claim in the identity store. Resolve the conflict before retrying this request.

      • The requested resource was being concurrently modified by another request.

      If the service returns an enum value that is not available in the current SDK version, reason will return ConflictExceptionReason.UNKNOWN_TO_SDK_VERSION. The raw value returned by the service is available from reasonAsString().

      Returns:
      This request cannot be completed for one of the following reasons:

      • Performing the requested operation would violate an existing uniqueness claim in the identity store. Resolve the conflict before retrying this request.

      • The requested resource was being concurrently modified by another request.

      See Also:
    • reasonAsString

      public String reasonAsString()

      This request cannot be completed for one of the following reasons:

      • Performing the requested operation would violate an existing uniqueness claim in the identity store. Resolve the conflict before retrying this request.

      • The requested resource was being concurrently modified by another request.

      If the service returns an enum value that is not available in the current SDK version, reason will return ConflictExceptionReason.UNKNOWN_TO_SDK_VERSION. The raw value returned by the service is available from reasonAsString().

      Returns:
      This request cannot be completed for one of the following reasons:

      • Performing the requested operation would violate an existing uniqueness claim in the identity store. Resolve the conflict before retrying this request.

      • The requested resource was being concurrently modified by another request.

      See Also:
    • sdkFields

      public final List<SdkField<?>> sdkFields()
      Specified by:
      sdkFields in interface SdkPojo
      Overrides:
      sdkFields in class SdkServiceException
      Returns:
      List of SdkField in this POJO. May be empty list but should never be null.
    • sdkFieldNameToField

      public final Map<String,SdkField<?>> sdkFieldNameToField()
      Specified by:
      sdkFieldNameToField in interface SdkPojo
      Returns:
      The mapping between the field name and its corresponding field.