@Generated(value="com.amazonaws:aws-java-sdk-code-generator") public class ConflictException extends AWSSSMContactsException
Updating or deleting a resource causes an inconsistent state.
AmazonServiceException.ErrorType
Constructor and Description |
---|
ConflictException(String message)
Constructs a new ConflictException with the specified error message.
|
Modifier and Type | Method and Description |
---|---|
List<DependentEntity> |
getDependentEntities()
List of dependent entities containing information on relation type and resourceArns linked to the resource in use
|
String |
getResourceId()
Identifier of the resource in use
|
String |
getResourceType()
Type of the resource in use
|
void |
setDependentEntities(Collection<DependentEntity> dependentEntities)
List of dependent entities containing information on relation type and resourceArns linked to the resource in use
|
void |
setResourceId(String resourceId)
Identifier of the resource in use
|
void |
setResourceType(String resourceType)
Type of the resource in use
|
ConflictException |
withDependentEntities(Collection<DependentEntity> dependentEntities)
List of dependent entities containing information on relation type and resourceArns linked to the resource in use
|
ConflictException |
withDependentEntities(DependentEntity... dependentEntities)
List of dependent entities containing information on relation type and resourceArns linked to the resource in use
|
ConflictException |
withResourceId(String resourceId)
Identifier of the resource in use
|
ConflictException |
withResourceType(String resourceType)
Type of the resource in use
|
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 ConflictException(String message)
message
- Describes the error encountered.public void setResourceId(String resourceId)
resourceId
- Identifier of the resource in usepublic String getResourceId()
public ConflictException withResourceId(String resourceId)
resourceId
- Identifier of the resource in usepublic void setResourceType(String resourceType)
resourceType
- Type of the resource in usepublic String getResourceType()
public ConflictException withResourceType(String resourceType)
resourceType
- Type of the resource in usepublic List<DependentEntity> getDependentEntities()
public void setDependentEntities(Collection<DependentEntity> dependentEntities)
dependentEntities
- List of dependent entities containing information on relation type and resourceArns linked to the resource
in usepublic ConflictException withDependentEntities(DependentEntity... dependentEntities)
NOTE: This method appends the values to the existing list (if any). Use
setDependentEntities(java.util.Collection)
or withDependentEntities(java.util.Collection)
if
you want to override the existing values.
dependentEntities
- List of dependent entities containing information on relation type and resourceArns linked to the resource
in usepublic ConflictException withDependentEntities(Collection<DependentEntity> dependentEntities)
dependentEntities
- List of dependent entities containing information on relation type and resourceArns linked to the resource
in use