public ConflictException withResourceType(String resourceType) {
        setResourceType(resourceType);
        return this;
    }
<p>
The resource type, which can be either <code>Connector</code> or <code>Challenge</code>.
</p>

@param resourceType
       The resource type, which can be either <code>Connector</code> or <code>Challenge</code>.
@return Returns a reference to this object so that method calls can be chained together.
aws-java-sdk-pcaconnectorscep/src/main/java/com/amazonaws/services/pcaconnectorscep/model/ConflictException.java