public WorkspaceCreationProperties withEnableInternetAccess(Boolean enableInternetAccess) {
        setEnableInternetAccess(enableInternetAccess);
        return this;
    }
<p>
Indicates whether internet access is enabled for your WorkSpaces.
</p>

@param enableInternetAccess
       Indicates whether internet access is enabled for your WorkSpaces.
@return Returns a reference to this object so that method calls can be chained together.
aws-java-sdk-workspaces/src/main/java/com/amazonaws/services/workspaces/model/WorkspaceCreationProperties.java