@Stability(value=Stable) public static final class CustomOriginConfig.Builder extends Object implements software.amazon.jsii.Builder<CustomOriginConfig>
CustomOriginConfig| Constructor and Description |
|---|
Builder() |
@Stability(value=Stable) public CustomOriginConfig.Builder domainName(String domainName)
CustomOriginConfig.getDomainName()domainName - The domain name of the custom origin. This parameter is required.
Should not include the path - that should be in the parent SourceConfigurationthis@Stability(value=Stable) public CustomOriginConfig.Builder allowedOriginSslVersions(List<? extends OriginSslPolicy> allowedOriginSslVersions)
CustomOriginConfig#getAllowedOriginSslVersionsallowedOriginSslVersions - The SSL versions to use when interacting with the origin.this@Stability(value=Stable) public CustomOriginConfig.Builder httpPort(Number httpPort)
CustomOriginConfig.getHttpPort()httpPort - The origin HTTP port.this@Stability(value=Stable) public CustomOriginConfig.Builder httpsPort(Number httpsPort)
CustomOriginConfig.getHttpsPort()httpsPort - The origin HTTPS port.this@Stability(value=Stable) public CustomOriginConfig.Builder originHeaders(Map<String,String> originHeaders)
CustomOriginConfig.getOriginHeaders()originHeaders - Any additional headers to pass to the origin.this@Stability(value=Stable) public CustomOriginConfig.Builder originKeepaliveTimeout(Duration originKeepaliveTimeout)
CustomOriginConfig.getOriginKeepaliveTimeout()originKeepaliveTimeout - The keep alive timeout when making calls in seconds.this@Stability(value=Stable) public CustomOriginConfig.Builder originPath(String originPath)
CustomOriginConfig.getOriginPath()originPath - The relative path to the origin root to use for sources.this@Stability(value=Stable) public CustomOriginConfig.Builder originProtocolPolicy(OriginProtocolPolicy originProtocolPolicy)
CustomOriginConfig.getOriginProtocolPolicy()originProtocolPolicy - The protocol (http or https) policy to use when interacting with the origin.this@Stability(value=Stable) public CustomOriginConfig.Builder originReadTimeout(Duration originReadTimeout)
CustomOriginConfig.getOriginReadTimeout()originReadTimeout - The read timeout when calling the origin in seconds.this@Stability(value=Stable) public CustomOriginConfig.Builder originShieldRegion(String originShieldRegion)
CustomOriginConfig.getOriginShieldRegion()originShieldRegion - When you enable Origin Shield in the AWS Region that has the lowest latency to your origin, you can get better network performance.this@Stability(value=Stable) public CustomOriginConfig build()
build in interface software.amazon.jsii.Builder<CustomOriginConfig>CustomOriginConfigNullPointerException - if any required attribute was not providedCopyright © 2022. All rights reserved.