public static interface ConflictException.Builder extends SdkPojo, CopyableBuilder<ConflictException.Builder,ConflictException>, MgnException.Builder
| Modifier and Type | Method and Description |
|---|---|
ConflictException.Builder |
awsErrorDetails(AwsErrorDetails awsErrorDetails) |
ConflictException.Builder |
cause(Throwable cause) |
ConflictException.Builder |
code(String code)
Sets the value of the Code property for this object.
|
ConflictException.Builder |
errors(Collection<ErrorDetails> errors)
Conflict Exception specific errors.
|
ConflictException.Builder |
errors(Consumer<ErrorDetails.Builder>... errors)
Conflict Exception specific errors.
|
ConflictException.Builder |
errors(ErrorDetails... errors)
Conflict Exception specific errors.
|
ConflictException.Builder |
message(String message) |
ConflictException.Builder |
requestId(String requestId) |
ConflictException.Builder |
resourceId(String resourceId)
A conflict occurred when prompting for the Resource ID.
|
ConflictException.Builder |
resourceType(String resourceType)
A conflict occurred when prompting for resource type.
|
ConflictException.Builder |
statusCode(int statusCode) |
copyapplyMutation, buildawsErrorDetails, build, clockSkew, clockSkew, extendedRequestIdextendedRequestId, requestId, statusCodecause, messageequalsBySdkFields, sdkFieldsConflictException.Builder code(String code)
code - The new value for the Code property for this object.ConflictException.Builder errors(Collection<ErrorDetails> errors)
Conflict Exception specific errors.
errors - Conflict Exception specific errors.ConflictException.Builder errors(ErrorDetails... errors)
Conflict Exception specific errors.
errors - Conflict Exception specific errors.ConflictException.Builder errors(Consumer<ErrorDetails.Builder>... errors)
Conflict Exception specific errors.
This is a convenience method that creates an instance of theErrorDetails.Builder avoiding the need to create one
manually via ErrorDetails.builder().
When the Consumer completes,
SdkBuilder.build() is called immediately and its
result is passed to #errors(List.
errors - a consumer that will call methods on
ErrorDetails.Builder#errors(java.util.Collection) ConflictException.Builder resourceId(String resourceId)
A conflict occurred when prompting for the Resource ID.
resourceId - A conflict occurred when prompting for the Resource ID.ConflictException.Builder resourceType(String resourceType)
A conflict occurred when prompting for resource type.
resourceType - A conflict occurred when prompting for resource type.ConflictException.Builder awsErrorDetails(AwsErrorDetails awsErrorDetails)
awsErrorDetails in interface AwsServiceException.BuilderawsErrorDetails in interface MgnException.BuilderConflictException.Builder message(String message)
message in interface AwsServiceException.Buildermessage in interface MgnException.Buildermessage in interface SdkException.Buildermessage in interface SdkServiceException.BuilderConflictException.Builder requestId(String requestId)
requestId in interface AwsServiceException.BuilderrequestId in interface MgnException.BuilderrequestId in interface SdkServiceException.BuilderConflictException.Builder statusCode(int statusCode)
statusCode in interface AwsServiceException.BuilderstatusCode in interface MgnException.BuilderstatusCode in interface SdkServiceException.BuilderConflictException.Builder cause(Throwable cause)
cause in interface AwsServiceException.Buildercause in interface MgnException.Buildercause in interface SdkException.Buildercause in interface SdkServiceException.BuilderCopyright © 2022. All rights reserved.