public ContactMethod withResourceType(ResourceType resourceType) {
        this.resourceType = resourceType.toString();
        return this;
    }
<p>
The Lightsail resource type of the contact method.
</p>

@param resourceType
       The Lightsail resource type of the contact method.
@return Returns a reference to this object so that method calls can be chained together.
@see ResourceType
aws-java-sdk-lightsail/src/main/java/com/amazonaws/services/lightsail/model/ContactMethod.java