@Generated(value="com.amazonaws:aws-java-sdk-code-generator") public class ResourceNotFoundException extends AWSIdentityStoreException
Indicates that a requested resource is not found.
AmazonServiceException.ErrorType
Constructor and Description |
---|
ResourceNotFoundException(String message)
Constructs a new ResourceNotFoundException with the specified error message.
|
Modifier and Type | Method and Description |
---|---|
String |
getRequestId()
The identifier for each request.
|
String |
getResourceId()
The identifier for a resource in the identity store that can be used as
UserId or
GroupId . |
String |
getResourceType()
An enum object indicating the type of resource in the identity store service.
|
void |
setRequestId(String requestId)
The identifier for each request.
|
void |
setResourceId(String resourceId)
The identifier for a resource in the identity store that can be used as
UserId or
GroupId . |
void |
setResourceType(String resourceType)
An enum object indicating the type of resource in the identity store service.
|
ResourceNotFoundException |
withRequestId(String requestId)
The identifier for each request.
|
ResourceNotFoundException |
withResourceId(String resourceId)
The identifier for a resource in the identity store that can be used as
UserId or
GroupId . |
ResourceNotFoundException |
withResourceType(ResourceType resourceType)
An enum object indicating the type of resource in the identity store service.
|
ResourceNotFoundException |
withResourceType(String resourceType)
An enum object indicating the type of resource in the identity store service.
|
getErrorCode, getErrorMessage, getErrorType, getHttpHeaders, getMessage, getProxyHost, getRawResponse, getRawResponseContent, getServiceName, getStatusCode, setErrorCode, setErrorMessage, setErrorType, setHttpHeaders, setProxyHost, setRawResponse, setRawResponseContent, setServiceName, setStatusCode
isRetryable
addSuppressed, fillInStackTrace, getCause, getLocalizedMessage, getStackTrace, getSuppressed, initCause, printStackTrace, printStackTrace, printStackTrace, setStackTrace, toString
public ResourceNotFoundException(String message)
message
- Describes the error encountered.public void setResourceType(String resourceType)
An enum object indicating the type of resource in the identity store service. Valid values include USER, GROUP, and IDENTITY_STORE.
resourceType
- An enum object indicating the type of resource in the identity store service. Valid values include USER,
GROUP, and IDENTITY_STORE.ResourceType
public String getResourceType()
An enum object indicating the type of resource in the identity store service. Valid values include USER, GROUP, and IDENTITY_STORE.
ResourceType
public ResourceNotFoundException withResourceType(String resourceType)
An enum object indicating the type of resource in the identity store service. Valid values include USER, GROUP, and IDENTITY_STORE.
resourceType
- An enum object indicating the type of resource in the identity store service. Valid values include USER,
GROUP, and IDENTITY_STORE.ResourceType
public ResourceNotFoundException withResourceType(ResourceType resourceType)
An enum object indicating the type of resource in the identity store service. Valid values include USER, GROUP, and IDENTITY_STORE.
resourceType
- An enum object indicating the type of resource in the identity store service. Valid values include USER,
GROUP, and IDENTITY_STORE.ResourceType
public void setResourceId(String resourceId)
The identifier for a resource in the identity store that can be used as UserId
or
GroupId
. The format for ResourceId
is either UUID
or
1234567890-UUID
, where UUID
is a randomly generated value for each resource when it is
created and 1234567890
represents the IdentityStoreId
string value. In the case that
the identity store is migrated from a legacy SSO identity store, the ResourceId
for that identity
store will be in the format of UUID
. Otherwise, it will be in the 1234567890-UUID
format.
resourceId
- The identifier for a resource in the identity store that can be used as UserId
or
GroupId
. The format for ResourceId
is either UUID
or
1234567890-UUID
, where UUID
is a randomly generated value for each resource when
it is created and 1234567890
represents the IdentityStoreId
string value. In the
case that the identity store is migrated from a legacy SSO identity store, the ResourceId
for
that identity store will be in the format of UUID
. Otherwise, it will be in the
1234567890-UUID
format.public String getResourceId()
The identifier for a resource in the identity store that can be used as UserId
or
GroupId
. The format for ResourceId
is either UUID
or
1234567890-UUID
, where UUID
is a randomly generated value for each resource when it is
created and 1234567890
represents the IdentityStoreId
string value. In the case that
the identity store is migrated from a legacy SSO identity store, the ResourceId
for that identity
store will be in the format of UUID
. Otherwise, it will be in the 1234567890-UUID
format.
UserId
or
GroupId
. The format for ResourceId
is either UUID
or
1234567890-UUID
, where UUID
is a randomly generated value for each resource
when it is created and 1234567890
represents the IdentityStoreId
string value.
In the case that the identity store is migrated from a legacy SSO identity store, the
ResourceId
for that identity store will be in the format of UUID
. Otherwise, it
will be in the 1234567890-UUID
format.public ResourceNotFoundException withResourceId(String resourceId)
The identifier for a resource in the identity store that can be used as UserId
or
GroupId
. The format for ResourceId
is either UUID
or
1234567890-UUID
, where UUID
is a randomly generated value for each resource when it is
created and 1234567890
represents the IdentityStoreId
string value. In the case that
the identity store is migrated from a legacy SSO identity store, the ResourceId
for that identity
store will be in the format of UUID
. Otherwise, it will be in the 1234567890-UUID
format.
resourceId
- The identifier for a resource in the identity store that can be used as UserId
or
GroupId
. The format for ResourceId
is either UUID
or
1234567890-UUID
, where UUID
is a randomly generated value for each resource when
it is created and 1234567890
represents the IdentityStoreId
string value. In the
case that the identity store is migrated from a legacy SSO identity store, the ResourceId
for
that identity store will be in the format of UUID
. Otherwise, it will be in the
1234567890-UUID
format.public void setRequestId(String requestId)
The identifier for each request. This value is a globally unique ID that is generated by the identity store service for each sent request, and is then returned inside the exception if the request fails.
setRequestId
in class AmazonServiceException
requestId
- The identifier for each request. This value is a globally unique ID that is generated by the identity
store service for each sent request, and is then returned inside the exception if the request fails.public String getRequestId()
The identifier for each request. This value is a globally unique ID that is generated by the identity store service for each sent request, and is then returned inside the exception if the request fails.
getRequestId
in class AmazonServiceException
public ResourceNotFoundException withRequestId(String requestId)
The identifier for each request. This value is a globally unique ID that is generated by the identity store service for each sent request, and is then returned inside the exception if the request fails.
requestId
- The identifier for each request. This value is a globally unique ID that is generated by the identity
store service for each sent request, and is then returned inside the exception if the request fails.