public static class CDNContainer.Builder extends Object
Modifier and Type | Field and Description |
---|---|
protected boolean |
cdnEnabled |
protected URI |
cdnSslUri |
protected URI |
cdnUri |
protected boolean |
logRetention |
protected String |
name |
protected String |
referrerAcl |
protected long |
ttl |
protected String |
useragentAcl |
Constructor and Description |
---|
CDNContainer.Builder() |
Modifier and Type | Method and Description |
---|---|
CDNContainer |
build() |
CDNContainer.Builder |
CDNEnabled(boolean cdnEnabled) |
CDNContainer.Builder |
CDNSslUri(URI cdnSslUri) |
CDNContainer.Builder |
CDNUri(URI cdnUri) |
CDNContainer.Builder |
fromCDNContainer(CDNContainer in) |
CDNContainer.Builder |
logRetention(boolean logRetention) |
CDNContainer.Builder |
name(String name) |
CDNContainer.Builder |
referrerAcl(String referrerAcl) |
CDNContainer.Builder |
ttl(long ttl) |
CDNContainer.Builder |
useragentAcl(String useragentAcl) |
protected String name
protected boolean cdnEnabled
protected boolean logRetention
protected long ttl
protected URI cdnUri
protected URI cdnSslUri
protected String referrerAcl
protected String useragentAcl
public CDNContainer.Builder name(String name)
CDNContainer.getName()
public CDNContainer.Builder CDNEnabled(boolean cdnEnabled)
CDNContainer.isCDNEnabled()
public CDNContainer.Builder ttl(long ttl)
CDNContainer.getTTL()
public CDNContainer.Builder CDNUri(URI cdnUri)
CDNContainer.getCDNUri()
public CDNContainer.Builder CDNSslUri(URI cdnSslUri)
CDNContainer.getCDNSslUri()
public CDNContainer.Builder referrerAcl(String referrerAcl)
CDNContainer.getReferrerAcl()
public CDNContainer.Builder useragentAcl(String useragentAcl)
CDNContainer.getUseragentAcl()
public CDNContainer.Builder logRetention(boolean logRetention)
CDNContainer.isLogRetention()
public CDNContainer build()
public CDNContainer.Builder fromCDNContainer(CDNContainer in)
Copyright © 2009-2016 The Apache Software Foundation. All Rights Reserved.