public static final class OriginBindConfig.Builder
extends java.lang.Object
OriginBindConfig
Constructor and Description |
---|
Builder() |
Modifier and Type | Method and Description |
---|---|
OriginBindConfig |
build()
Builds the configured instance.
|
OriginBindConfig.Builder |
failoverConfig(OriginFailoverConfig failoverConfig)
Sets the value of
OriginBindConfig.getFailoverConfig() |
OriginBindConfig.Builder |
originProperty(CfnDistribution.OriginProperty originProperty)
Sets the value of
OriginBindConfig.getOriginProperty() |
public OriginBindConfig.Builder failoverConfig(OriginFailoverConfig failoverConfig)
OriginBindConfig.getFailoverConfig()
failoverConfig
- The failover configuration for this Origin.this
public OriginBindConfig.Builder originProperty(CfnDistribution.OriginProperty originProperty)
OriginBindConfig.getOriginProperty()
originProperty
- The CloudFormation OriginProperty configuration for this Origin.this
public OriginBindConfig build()
OriginBindConfig
java.lang.NullPointerException
- if any required attribute was not provided