public void setResourceName(String resourceName) {
        this.resourceName = resourceName;
    }
<p>
The name of the Lightsail instance for which to set bucket access. The instance must be in a running or stopped
state.
</p>

@param resourceName
       The name of the Lightsail instance for which to set bucket access. The instance must be in a running or
       stopped state.
aws-java-sdk-lightsail/src/main/java/com/amazonaws/services/lightsail/model/SetResourceAccessForBucketRequest.java