> + public CDNContainer(String name, boolean enabled, boolean logRetention, > int ttl, URI uri, URI sslUri, URI streamingUri, URI iosUri) { > + this.name = checkNotNull(name, "name required"); > + this.enabled = enabled; > + this.logRetention = logRetention; > + this.ttl = ttl; > + this.uri = checkNotNull(uri, "uri required");; > + this.sslUri = checkNotNull(sslUri, "sslUri required"); > + this.streamingUri = checkNotNull(streamingUri, "streamingUri > required"); > + this.iosUri = checkNotNull(iosUri, "iosUri required"); > + } > + > + /** > + * Beware: The container name is not available from HEAD CDN responses > and will be null. return > + * the name of the container to which these CDN settings apply. > + */ > + public String name() {
I prefer getSomething for the domain object getters. Contrast this with the builder().something() in the builders. Thoughts? Also add javadoc for the rest. --- Reply to this email directly or view it on GitHub: https://github.com/jclouds/jclouds-labs-openstack/pull/79/files#r9967021