public Builder withResourceType(String resourceType) {
            setResourceType(resourceType);
            return this;
        }
Parses a string containing either a resource, resource type and resource or
resource type, resource and qualifier into an {@link ArnResource}.
<p>
Matches:
<p><pre>
resource-id
resource-type:resource-id
resource-type/resource-id
resource-type:resource-id:qualifier
resource-type/resource-id:qualifier
</pre><p>
resource-id can be a resource name or a resource path.

@param resource - The resource string to parse.
@return {@link ArnResource}
aws-java-sdk-core/src/main/java/com/amazonaws/arn/ArnResource.java