@Generated(value="com.amazonaws:aws-java-sdk-code-generator") public class TooManyTagsException extends AmazonBedrockException
The request contains more tags than can be associated with a resource (50 tags per resource). The maximum number of tags includes both existing tags and those included in your current request.
AmazonServiceException.ErrorType
Constructor and Description |
---|
TooManyTagsException(String message)
Constructs a new TooManyTagsException with the specified error message.
|
Modifier and Type | Method and Description |
---|---|
String |
getResourceName()
The name of the resource with too many tags.
|
void |
setResourceName(String resourceName)
The name of the resource with too many tags.
|
TooManyTagsException |
withResourceName(String resourceName)
The name of the resource with too many tags.
|
getErrorCode, getErrorMessage, getErrorType, getHttpHeaders, getMessage, getProxyHost, getRawResponse, getRawResponseContent, getRequestId, getServiceName, getStatusCode, setErrorCode, setErrorMessage, setErrorType, setHttpHeaders, setProxyHost, setRawResponse, setRawResponseContent, setRequestId, setServiceName, setStatusCode
isRetryable
addSuppressed, fillInStackTrace, getCause, getLocalizedMessage, getStackTrace, getSuppressed, initCause, printStackTrace, printStackTrace, printStackTrace, setStackTrace, toString
public TooManyTagsException(String message)
message
- Describes the error encountered.public void setResourceName(String resourceName)
The name of the resource with too many tags.
resourceName
- The name of the resource with too many tags.public String getResourceName()
The name of the resource with too many tags.
public TooManyTagsException withResourceName(String resourceName)
The name of the resource with too many tags.
resourceName
- The name of the resource with too many tags.