public class CustomOriginConfig
extends java.lang.Object
implements java.io.Serializable
A customer origin.
| コンストラクタと説明 |
|---|
CustomOriginConfig() |
| 修飾子とタイプ | メソッドと説明 |
|---|---|
boolean |
equals(java.lang.Object obj) |
java.lang.Integer |
getHTTPPort()
The HTTP port the custom origin listens on.
|
java.lang.Integer |
getHTTPSPort()
The HTTPS port the custom origin listens on.
|
java.lang.String |
getOriginProtocolPolicy()
The origin protocol policy to apply to your origin.
|
int |
hashCode() |
void |
setHTTPPort(java.lang.Integer hTTPPort)
The HTTP port the custom origin listens on.
|
void |
setHTTPSPort(java.lang.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(java.lang.String originProtocolPolicy)
The origin protocol policy to apply to your origin.
|
java.lang.String |
toString()
Returns a string representation of this object; useful for testing and
debugging.
|
CustomOriginConfig |
withHTTPPort(java.lang.Integer hTTPPort)
The HTTP port the custom origin listens on.
|
CustomOriginConfig |
withHTTPSPort(java.lang.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(java.lang.String originProtocolPolicy)
The origin protocol policy to apply to your origin.
|
public java.lang.Integer getHTTPPort()
public void setHTTPPort(java.lang.Integer hTTPPort)
hTTPPort - The HTTP port the custom origin listens on.public CustomOriginConfig withHTTPPort(java.lang.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 java.lang.Integer getHTTPSPort()
public void setHTTPSPort(java.lang.Integer hTTPSPort)
hTTPSPort - The HTTPS port the custom origin listens on.public CustomOriginConfig withHTTPSPort(java.lang.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 java.lang.String getOriginProtocolPolicy()
Constraints:
Allowed Values: http-only, match-viewer
OriginProtocolPolicypublic void setOriginProtocolPolicy(java.lang.String originProtocolPolicy)
Constraints:
Allowed Values: http-only, match-viewer
originProtocolPolicy - The origin protocol policy to apply to your origin.OriginProtocolPolicypublic CustomOriginConfig withOriginProtocolPolicy(java.lang.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 java.lang.String toString()
toString クラス内 java.lang.ObjectObject.toString()public int hashCode()
hashCode クラス内 java.lang.Objectpublic boolean equals(java.lang.Object obj)
equals クラス内 java.lang.Object