public RoleUsageType withResources(java.util.Collection<String> resources) {
        setResources(resources);
        return this;
    }
<p>
The name of the resource that is using the service-linked role.
</p>

@param resources
       The name of the resource that is using the service-linked role.
@return Returns a reference to this object so that method calls can be chained together.
aws-java-sdk-iam/src/main/java/com/amazonaws/services/identitymanagement/model/RoleUsageType.java