@Generated(value="software.amazon.awssdk:codegen") public final class InvalidResourceTypeException extends SsmException implements ToCopyableBuilder<InvalidResourceTypeException.Builder,InvalidResourceTypeException>
The resource type is not valid. For example, if you are attempting to tag an instance, the instance must be a registered, managed instance.
Modifier and Type | Class and Description |
---|---|
static interface |
InvalidResourceTypeException.Builder |
Modifier and Type | Method and Description |
---|---|
static InvalidResourceTypeException.Builder |
builder() |
List<SdkField<?>> |
sdkFields() |
static Class<? extends InvalidResourceTypeException.Builder> |
serializableBuilderClass() |
InvalidResourceTypeException.Builder |
toBuilder()
Create a
AwsServiceException.Builder initialized with the properties of this AwsServiceException . |
awsErrorDetails, getMessage, isClockSkewException, isThrottlingException
extendedRequestId, requestId, statusCode
create, retryable
addSuppressed, fillInStackTrace, getCause, getLocalizedMessage, getStackTrace, getSuppressed, initCause, printStackTrace, printStackTrace, printStackTrace, setStackTrace, toString
equals, getClass, hashCode, notify, notifyAll, wait, wait, wait
copy
equalsBySdkFields
public InvalidResourceTypeException.Builder toBuilder()
AwsServiceException
AwsServiceException.Builder
initialized with the properties of this AwsServiceException
.toBuilder
in interface ToCopyableBuilder<InvalidResourceTypeException.Builder,InvalidResourceTypeException>
toBuilder
in class SsmException
public static InvalidResourceTypeException.Builder builder()
public static Class<? extends InvalidResourceTypeException.Builder> serializableBuilderClass()
Copyright © 2021 Amazon Web Services, Inc. All Rights Reserved.