Interface ConflictException.Builder
-
- All Superinterfaces:
AwsServiceException.Builder,Buildable,CopyableBuilder<ConflictException.Builder,ConflictException>,PanoramaException.Builder,SdkBuilder<ConflictException.Builder,ConflictException>,SdkException.Builder,SdkPojo,SdkServiceException.Builder
- Enclosing class:
- ConflictException
public static interface ConflictException.Builder extends SdkPojo, CopyableBuilder<ConflictException.Builder,ConflictException>, PanoramaException.Builder
-
-
Method Summary
-
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
-
errorArguments
ConflictException.Builder errorArguments(Collection<ConflictExceptionErrorArgument> errorArguments)
A list of attributes that led to the exception and their values.
- Parameters:
errorArguments- A list of attributes that led to the exception and their values.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
errorArguments
ConflictException.Builder errorArguments(ConflictExceptionErrorArgument... errorArguments)
A list of attributes that led to the exception and their values.
- Parameters:
errorArguments- A list of attributes that led to the exception and their values.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
errorArguments
ConflictException.Builder errorArguments(Consumer<ConflictExceptionErrorArgument.Builder>... errorArguments)
A list of attributes that led to the exception and their values.
This is a convenience method that creates an instance of theConflictExceptionErrorArgument.Builderavoiding the need to create one manually viaConflictExceptionErrorArgument.builder().When the
Consumercompletes,SdkBuilder.build()is called immediately and its result is passed to#errorArguments(List.) - Parameters:
errorArguments- a consumer that will call methods onConflictExceptionErrorArgument.Builder- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
#errorArguments(java.util.Collection)
-
errorId
ConflictException.Builder errorId(String errorId)
A unique ID for the error.
- Parameters:
errorId- A unique ID for the error.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
resourceId
ConflictException.Builder resourceId(String resourceId)
The resource's ID.
- Parameters:
resourceId- The resource's ID.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
resourceType
ConflictException.Builder resourceType(String resourceType)
The resource's type.
- Parameters:
resourceType- The resource's type.- 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 interfacePanoramaException.Builder
-
message
ConflictException.Builder message(String message)
- Specified by:
messagein interfaceAwsServiceException.Builder- Specified by:
messagein interfacePanoramaException.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 interfacePanoramaException.Builder- Specified by:
requestIdin interfaceSdkServiceException.Builder
-
statusCode
ConflictException.Builder statusCode(int statusCode)
- Specified by:
statusCodein interfaceAwsServiceException.Builder- Specified by:
statusCodein interfacePanoramaException.Builder- Specified by:
statusCodein interfaceSdkServiceException.Builder
-
cause
ConflictException.Builder cause(Throwable cause)
- Specified by:
causein interfaceAwsServiceException.Builder- Specified by:
causein interfacePanoramaException.Builder- Specified by:
causein interfaceSdkException.Builder- Specified by:
causein interfaceSdkServiceException.Builder
-
writableStackTrace
ConflictException.Builder writableStackTrace(Boolean writableStackTrace)
- Specified by:
writableStackTracein interfacePanoramaException.Builder- Specified by:
writableStackTracein interfaceSdkException.Builder- Specified by:
writableStackTracein interfaceSdkServiceException.Builder
-
-