|
|||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectcom.amazonaws.services.cloudfront.model.CustomOrigin
public class CustomOrigin
A customer origin.
Constructor Summary | |
---|---|
CustomOrigin()
Default constructor for a new CustomOrigin object. |
|
CustomOrigin(String dNSName,
String originProtocolPolicy)
Constructs a new CustomOrigin object. |
Method Summary | |
---|---|
String |
getDNSName()
The origin to associate with the distribution. |
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. |
void |
setDNSName(String dNSName)
The origin to associate with the distribution. |
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(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. |
CustomOrigin |
withDNSName(String dNSName)
The origin to associate with the distribution. |
CustomOrigin |
withHTTPPort(Integer hTTPPort)
The HTTP port the custom origin listens on. |
CustomOrigin |
withHTTPSPort(Integer hTTPSPort)
The HTTPS port the custom origin listens on. |
CustomOrigin |
withOriginProtocolPolicy(String originProtocolPolicy)
The origin protocol policy to apply to your origin. |
Methods inherited from class java.lang.Object |
---|
equals, getClass, hashCode, notify, notifyAll, wait, wait, wait |
Constructor Detail |
---|
public CustomOrigin()
public CustomOrigin(String dNSName, String originProtocolPolicy)
dNSName
- The origin to associate with the distribution.originProtocolPolicy
- The origin protocol policy to apply to
your origin.Method Detail |
---|
public String getDNSName()
public void setDNSName(String dNSName)
dNSName
- The origin to associate with the distribution.public CustomOrigin withDNSName(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 Integer getHTTPPort()
public void setHTTPPort(Integer hTTPPort)
hTTPPort
- The HTTP port the custom origin listens on.public CustomOrigin 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 CustomOrigin 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
OriginProtocolPolicy
public void setOriginProtocolPolicy(String originProtocolPolicy)
Constraints:
Allowed Values: http-only, match-viewer
originProtocolPolicy
- The origin protocol policy to apply to your origin.OriginProtocolPolicy
public CustomOrigin 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.
OriginProtocolPolicy
public String toString()
toString
in class Object
Object.toString()
|
|||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |