Interface ResourceNotFoundException.Builder
- All Superinterfaces:
AwsServiceException.Builder,Buildable,CloudWatchException.Builder,CopyableBuilder<ResourceNotFoundException.Builder,,ResourceNotFoundException> SdkBuilder<ResourceNotFoundException.Builder,,ResourceNotFoundException> SdkException.Builder,SdkPojo,SdkServiceException.Builder
- Enclosing class:
- ResourceNotFoundException
@Mutable
@NotThreadSafe
public static interface ResourceNotFoundException.Builder
extends SdkPojo, CopyableBuilder<ResourceNotFoundException.Builder,ResourceNotFoundException>, CloudWatchException.Builder
-
Method Summary
Modifier and TypeMethodDescriptionawsErrorDetails(AwsErrorDetails awsErrorDetails) numAttempts(Integer numAttempts) resourceId(String resourceId) Sets the value of the ResourceId property for this object.resourceType(String resourceType) Sets the value of the ResourceType property for this object.statusCode(int statusCode) writableStackTrace(Boolean writableStackTrace) Methods inherited from interface software.amazon.awssdk.awscore.exception.AwsServiceException.Builder
awsErrorDetails, build, clockSkew, clockSkew, extendedRequestIdMethods inherited from interface software.amazon.awssdk.utils.builder.CopyableBuilder
copyMethods inherited from interface software.amazon.awssdk.utils.builder.SdkBuilder
applyMutation, buildMethods inherited from interface software.amazon.awssdk.core.exception.SdkException.Builder
cause, message, numAttempts, writableStackTraceMethods inherited from interface software.amazon.awssdk.core.SdkPojo
equalsBySdkFields, sdkFieldNameToField, sdkFieldsMethods inherited from interface software.amazon.awssdk.core.exception.SdkServiceException.Builder
extendedRequestId, requestId, statusCode
-
Method Details
-
resourceType
Sets the value of the ResourceType property for this object.- Parameters:
resourceType- The new value for the ResourceType property for this object.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
resourceId
Sets the value of the ResourceId property for this object.- Parameters:
resourceId- The new value for the ResourceId property for this object.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
awsErrorDetails
- Specified by:
awsErrorDetailsin interfaceAwsServiceException.Builder- Specified by:
awsErrorDetailsin interfaceCloudWatchException.Builder
-
message
- Specified by:
messagein interfaceAwsServiceException.Builder- Specified by:
messagein interfaceCloudWatchException.Builder- Specified by:
messagein interfaceSdkException.Builder- Specified by:
messagein interfaceSdkServiceException.Builder
-
requestId
- Specified by:
requestIdin interfaceAwsServiceException.Builder- Specified by:
requestIdin interfaceCloudWatchException.Builder- Specified by:
requestIdin interfaceSdkServiceException.Builder
-
statusCode
- Specified by:
statusCodein interfaceAwsServiceException.Builder- Specified by:
statusCodein interfaceCloudWatchException.Builder- Specified by:
statusCodein interfaceSdkServiceException.Builder
-
cause
- Specified by:
causein interfaceAwsServiceException.Builder- Specified by:
causein interfaceCloudWatchException.Builder- Specified by:
causein interfaceSdkException.Builder- Specified by:
causein interfaceSdkServiceException.Builder
-
writableStackTrace
- Specified by:
writableStackTracein interfaceCloudWatchException.Builder- Specified by:
writableStackTracein interfaceSdkException.Builder- Specified by:
writableStackTracein interfaceSdkServiceException.Builder
-
numAttempts
- Specified by:
numAttemptsin interfaceAwsServiceException.Builder- Specified by:
numAttemptsin interfaceCloudWatchException.Builder- Specified by:
numAttemptsin interfaceSdkException.Builder- Specified by:
numAttemptsin interfaceSdkServiceException.Builder
-