Interface ConflictException.Builder
-
- All Superinterfaces:
AwsServiceException.Builder,Buildable,CopyableBuilder<ConflictException.Builder,ConflictException>,DeadlineException.Builder,SdkBuilder<ConflictException.Builder,ConflictException>,SdkException.Builder,SdkPojo,SdkServiceException.Builder
- Enclosing class:
- ConflictException
public static interface ConflictException.Builder extends SdkPojo, CopyableBuilder<ConflictException.Builder,ConflictException>, DeadlineException.Builder
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description ConflictException.BuilderawsErrorDetails(AwsErrorDetails awsErrorDetails)ConflictException.Buildercause(Throwable cause)ConflictException.Buildercontext(Map<String,String> context)Information about the resources in use when the exception was thrown.ConflictException.Buildermessage(String message)ConflictException.Builderreason(String reason)A description of the error.ConflictException.Builderreason(ConflictExceptionReason reason)A description of the error.ConflictException.BuilderrequestId(String requestId)ConflictException.BuilderresourceId(String resourceId)The identifier of the resource in use.ConflictException.BuilderresourceType(String resourceType)The type of the resource in use.ConflictException.BuilderstatusCode(int statusCode)ConflictException.BuilderwritableStackTrace(Boolean writableStackTrace)-
Methods inherited from interface software.amazon.awssdk.awscore.exception.AwsServiceException.Builder
awsErrorDetails, build, clockSkew, clockSkew, extendedRequestId
-
Methods inherited from interface software.amazon.awssdk.utils.builder.CopyableBuilder
copy
-
Methods inherited from interface software.amazon.awssdk.utils.builder.SdkBuilder
applyMutation, build
-
Methods inherited from interface software.amazon.awssdk.core.exception.SdkException.Builder
cause, message, writableStackTrace
-
Methods inherited from interface software.amazon.awssdk.core.SdkPojo
equalsBySdkFields, sdkFields
-
Methods inherited from interface software.amazon.awssdk.core.exception.SdkServiceException.Builder
extendedRequestId, requestId, statusCode
-
-
-
-
Method Detail
-
context
ConflictException.Builder context(Map<String,String> context)
Information about the resources in use when the exception was thrown.
- Parameters:
context- Information about the resources in use when the exception was thrown.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
reason
ConflictException.Builder reason(String reason)
A description of the error.
- Parameters:
reason- A description of the error.- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
ConflictExceptionReason,ConflictExceptionReason
-
reason
ConflictException.Builder reason(ConflictExceptionReason reason)
A description of the error.
- Parameters:
reason- A description of the error.- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
ConflictExceptionReason,ConflictExceptionReason
-
resourceId
ConflictException.Builder resourceId(String resourceId)
The identifier of the resource in use.
- Parameters:
resourceId- The identifier of the resource in use.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
resourceType
ConflictException.Builder resourceType(String resourceType)
The type of the resource in use.
- Parameters:
resourceType- The type of the resource in use.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
awsErrorDetails
ConflictException.Builder awsErrorDetails(AwsErrorDetails awsErrorDetails)
- Specified by:
awsErrorDetailsin interfaceAwsServiceException.Builder- Specified by:
awsErrorDetailsin interfaceDeadlineException.Builder
-
message
ConflictException.Builder message(String message)
- Specified by:
messagein interfaceAwsServiceException.Builder- Specified by:
messagein interfaceDeadlineException.Builder- Specified by:
messagein interfaceSdkException.Builder- Specified by:
messagein interfaceSdkServiceException.Builder
-
requestId
ConflictException.Builder requestId(String requestId)
- Specified by:
requestIdin interfaceAwsServiceException.Builder- Specified by:
requestIdin interfaceDeadlineException.Builder- Specified by:
requestIdin interfaceSdkServiceException.Builder
-
statusCode
ConflictException.Builder statusCode(int statusCode)
- Specified by:
statusCodein interfaceAwsServiceException.Builder- Specified by:
statusCodein interfaceDeadlineException.Builder- Specified by:
statusCodein interfaceSdkServiceException.Builder
-
cause
ConflictException.Builder cause(Throwable cause)
- Specified by:
causein interfaceAwsServiceException.Builder- Specified by:
causein interfaceDeadlineException.Builder- Specified by:
causein interfaceSdkException.Builder- Specified by:
causein interfaceSdkServiceException.Builder
-
writableStackTrace
ConflictException.Builder writableStackTrace(Boolean writableStackTrace)
- Specified by:
writableStackTracein interfaceDeadlineException.Builder- Specified by:
writableStackTracein interfaceSdkException.Builder- Specified by:
writableStackTracein interfaceSdkServiceException.Builder
-
-