|
Did this page help you?Yes No Tell us about it... |
||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectcom.amazonaws.services.cloudfront_2012_03_15.model.CustomOrigin
public class CustomOrigin
A customer origin.
Constructor Summary | |
---|---|
CustomOrigin()
Default constructor for a new CustomOrigin object. |
|
CustomOrigin(java.lang.String dNSName,
OriginProtocolPolicy originProtocolPolicy)
Constructs a new CustomOrigin object. |
|
CustomOrigin(java.lang.String dNSName,
java.lang.String originProtocolPolicy)
Constructs a new CustomOrigin object. |
Method Summary | |
---|---|
boolean |
equals(java.lang.Object obj)
|
java.lang.String |
getDNSName()
The origin to associate with the distribution. |
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 |
setDNSName(java.lang.String dNSName)
The origin to associate with the distribution. |
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. |
CustomOrigin |
withDNSName(java.lang.String dNSName)
The origin to associate with the distribution. |
CustomOrigin |
withHTTPPort(java.lang.Integer hTTPPort)
The HTTP port the custom origin listens on. |
CustomOrigin |
withHTTPSPort(java.lang.Integer hTTPSPort)
The HTTPS port the custom origin listens on. |
CustomOrigin |
withOriginProtocolPolicy(OriginProtocolPolicy originProtocolPolicy)
The origin protocol policy to apply to your origin. |
CustomOrigin |
withOriginProtocolPolicy(java.lang.String originProtocolPolicy)
The origin protocol policy to apply to your origin. |
Methods inherited from class java.lang.Object |
---|
getClass, notify, notifyAll, wait, wait, wait |
Constructor Detail |
---|
public CustomOrigin()
public CustomOrigin(java.lang.String dNSName, java.lang.String originProtocolPolicy)
dNSName
- The origin to associate with the distribution.originProtocolPolicy
- The origin protocol policy to apply to
your origin.public CustomOrigin(java.lang.String dNSName, OriginProtocolPolicy originProtocolPolicy)
dNSName
- The origin to associate with the distribution.originProtocolPolicy
- The origin protocol policy to apply to
your origin.Method Detail |
---|
public java.lang.String getDNSName()
public void setDNSName(java.lang.String dNSName)
dNSName
- The origin to associate with the distribution.public CustomOrigin withDNSName(java.lang.String dNSName)
Returns a reference to this object so that method calls can be chained together.
dNSName
- The origin to associate with the distribution.
public java.lang.Integer getHTTPPort()
public void setHTTPPort(java.lang.Integer hTTPPort)
hTTPPort
- The HTTP port the custom origin listens on.public CustomOrigin 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 CustomOrigin 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
OriginProtocolPolicy
public void setOriginProtocolPolicy(java.lang.String originProtocolPolicy)
Constraints:
Allowed Values: http-only, match-viewer
originProtocolPolicy
- The origin protocol policy to apply to your origin.OriginProtocolPolicy
public CustomOrigin 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.
OriginProtocolPolicy
public void setOriginProtocolPolicy(OriginProtocolPolicy originProtocolPolicy)
Constraints:
Allowed Values: http-only, match-viewer
originProtocolPolicy
- The origin protocol policy to apply to your origin.OriginProtocolPolicy
public CustomOrigin 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.
OriginProtocolPolicy
public java.lang.String toString()
toString
in class java.lang.Object
Object.toString()
public int hashCode()
hashCode
in class java.lang.Object
public boolean equals(java.lang.Object obj)
equals
in class java.lang.Object
|
|||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |