public class CustomOriginConfig extends Object implements Serializable, Cloneable
A customer origin.
| Constructor and Description | 
|---|
| CustomOriginConfig() | 
| Modifier and Type | Method and Description | 
|---|---|
| CustomOriginConfig | clone() | 
| boolean | equals(Object obj) | 
| Integer | getHTTPPort()The HTTP port the custom origin listens on. | 
| Integer | getHTTPSPort()The HTTPS port the custom origin listens on. | 
| String | getOriginProtocolPolicy()The origin protocol policy to apply to your origin. | 
| int | hashCode() | 
| void | setHTTPPort(Integer hTTPPort)The HTTP port the custom origin listens on. | 
| void | setHTTPSPort(Integer hTTPSPort)The HTTPS port the custom origin listens on. | 
| void | setOriginProtocolPolicy(OriginProtocolPolicy originProtocolPolicy)The origin protocol policy to apply to your origin. | 
| void | setOriginProtocolPolicy(String originProtocolPolicy)The origin protocol policy to apply to your origin. | 
| String | toString()Returns a string representation of this object; useful for testing and
 debugging. | 
| CustomOriginConfig | withHTTPPort(Integer hTTPPort)The HTTP port the custom origin listens on. | 
| CustomOriginConfig | withHTTPSPort(Integer hTTPSPort)The HTTPS port the custom origin listens on. | 
| CustomOriginConfig | withOriginProtocolPolicy(OriginProtocolPolicy originProtocolPolicy)The origin protocol policy to apply to your origin. | 
| CustomOriginConfig | withOriginProtocolPolicy(String originProtocolPolicy)The origin protocol policy to apply to your origin. | 
public Integer getHTTPPort()
public void setHTTPPort(Integer hTTPPort)
hTTPPort - The HTTP port the custom origin listens on.public CustomOriginConfig withHTTPPort(Integer hTTPPort)
Returns a reference to this object so that method calls can be chained together.
hTTPPort - The HTTP port the custom origin listens on.public Integer getHTTPSPort()
public void setHTTPSPort(Integer hTTPSPort)
hTTPSPort - The HTTPS port the custom origin listens on.public CustomOriginConfig withHTTPSPort(Integer hTTPSPort)
Returns a reference to this object so that method calls can be chained together.
hTTPSPort - The HTTPS port the custom origin listens on.public String getOriginProtocolPolicy()
 Constraints:
 Allowed Values: http-only, match-viewer
OriginProtocolPolicypublic void setOriginProtocolPolicy(String originProtocolPolicy)
 Constraints:
 Allowed Values: http-only, match-viewer
originProtocolPolicy - The origin protocol policy to apply to your origin.OriginProtocolPolicypublic CustomOriginConfig withOriginProtocolPolicy(String originProtocolPolicy)
Returns a reference to this object so that method calls can be chained together.
 Constraints:
 Allowed Values: http-only, match-viewer
originProtocolPolicy - The origin protocol policy to apply to your origin.OriginProtocolPolicypublic void setOriginProtocolPolicy(OriginProtocolPolicy originProtocolPolicy)
 Constraints:
 Allowed Values: http-only, match-viewer
originProtocolPolicy - The origin protocol policy to apply to your origin.OriginProtocolPolicypublic CustomOriginConfig withOriginProtocolPolicy(OriginProtocolPolicy originProtocolPolicy)
Returns a reference to this object so that method calls can be chained together.
 Constraints:
 Allowed Values: http-only, match-viewer
originProtocolPolicy - The origin protocol policy to apply to your origin.OriginProtocolPolicypublic String toString()
toString in class ObjectObject.toString()public CustomOriginConfig clone()
Copyright © 2015. All rights reserved.