@Generated(value="com.amazonaws:aws-java-sdk-code-generator") public class OriginAccessControlSummary extends Object implements Serializable, Cloneable
A CloudFront origin access control.
Constructor and Description |
---|
OriginAccessControlSummary() |
Modifier and Type | Method and Description |
---|---|
OriginAccessControlSummary |
clone() |
boolean |
equals(Object obj) |
String |
getDescription()
A description of the origin access control.
|
String |
getId()
The unique identifier of the origin access control.
|
String |
getName()
A unique name that identifies the origin access control.
|
String |
getOriginAccessControlOriginType()
The type of origin that this origin access control is for.
|
String |
getSigningBehavior()
A value that specifies which requests CloudFront signs (adds authentication information to).
|
String |
getSigningProtocol()
The signing protocol of the origin access control.
|
int |
hashCode() |
void |
setDescription(String description)
A description of the origin access control.
|
void |
setId(String id)
The unique identifier of the origin access control.
|
void |
setName(String name)
A unique name that identifies the origin access control.
|
void |
setOriginAccessControlOriginType(String originAccessControlOriginType)
The type of origin that this origin access control is for.
|
void |
setSigningBehavior(String signingBehavior)
A value that specifies which requests CloudFront signs (adds authentication information to).
|
void |
setSigningProtocol(String signingProtocol)
The signing protocol of the origin access control.
|
String |
toString()
Returns a string representation of this object.
|
OriginAccessControlSummary |
withDescription(String description)
A description of the origin access control.
|
OriginAccessControlSummary |
withId(String id)
The unique identifier of the origin access control.
|
OriginAccessControlSummary |
withName(String name)
A unique name that identifies the origin access control.
|
OriginAccessControlSummary |
withOriginAccessControlOriginType(OriginAccessControlOriginTypes originAccessControlOriginType)
The type of origin that this origin access control is for.
|
OriginAccessControlSummary |
withOriginAccessControlOriginType(String originAccessControlOriginType)
The type of origin that this origin access control is for.
|
OriginAccessControlSummary |
withSigningBehavior(OriginAccessControlSigningBehaviors signingBehavior)
A value that specifies which requests CloudFront signs (adds authentication information to).
|
OriginAccessControlSummary |
withSigningBehavior(String signingBehavior)
A value that specifies which requests CloudFront signs (adds authentication information to).
|
OriginAccessControlSummary |
withSigningProtocol(OriginAccessControlSigningProtocols signingProtocol)
The signing protocol of the origin access control.
|
OriginAccessControlSummary |
withSigningProtocol(String signingProtocol)
The signing protocol of the origin access control.
|
public void setId(String id)
The unique identifier of the origin access control.
id
- The unique identifier of the origin access control.public String getId()
The unique identifier of the origin access control.
public OriginAccessControlSummary withId(String id)
The unique identifier of the origin access control.
id
- The unique identifier of the origin access control.public void setDescription(String description)
A description of the origin access control.
description
- A description of the origin access control.public String getDescription()
A description of the origin access control.
public OriginAccessControlSummary withDescription(String description)
A description of the origin access control.
description
- A description of the origin access control.public void setName(String name)
A unique name that identifies the origin access control.
name
- A unique name that identifies the origin access control.public String getName()
A unique name that identifies the origin access control.
public OriginAccessControlSummary withName(String name)
A unique name that identifies the origin access control.
name
- A unique name that identifies the origin access control.public void setSigningProtocol(String signingProtocol)
The signing protocol of the origin access control. The signing protocol determines how CloudFront signs
(authenticates) requests. The only valid value is sigv4
.
signingProtocol
- The signing protocol of the origin access control. The signing protocol determines how CloudFront signs
(authenticates) requests. The only valid value is sigv4
.OriginAccessControlSigningProtocols
public String getSigningProtocol()
The signing protocol of the origin access control. The signing protocol determines how CloudFront signs
(authenticates) requests. The only valid value is sigv4
.
sigv4
.OriginAccessControlSigningProtocols
public OriginAccessControlSummary withSigningProtocol(String signingProtocol)
The signing protocol of the origin access control. The signing protocol determines how CloudFront signs
(authenticates) requests. The only valid value is sigv4
.
signingProtocol
- The signing protocol of the origin access control. The signing protocol determines how CloudFront signs
(authenticates) requests. The only valid value is sigv4
.OriginAccessControlSigningProtocols
public OriginAccessControlSummary withSigningProtocol(OriginAccessControlSigningProtocols signingProtocol)
The signing protocol of the origin access control. The signing protocol determines how CloudFront signs
(authenticates) requests. The only valid value is sigv4
.
signingProtocol
- The signing protocol of the origin access control. The signing protocol determines how CloudFront signs
(authenticates) requests. The only valid value is sigv4
.OriginAccessControlSigningProtocols
public void setSigningBehavior(String signingBehavior)
A value that specifies which requests CloudFront signs (adds authentication information to). This field can have one of the following values:
never
– CloudFront doesn't sign any origin requests.
always
– CloudFront signs all origin requests, overwriting the Authorization
header
from the viewer request if necessary.
no-override
– If the viewer request doesn't contain the Authorization
header,
CloudFront signs the origin request. If the viewer request contains the Authorization
header,
CloudFront doesn't sign the origin request, but instead passes along the Authorization
header that
it received in the viewer request.
signingBehavior
- A value that specifies which requests CloudFront signs (adds authentication information to). This field
can have one of the following values:
never
– CloudFront doesn't sign any origin requests.
always
– CloudFront signs all origin requests, overwriting the Authorization
header from the viewer request if necessary.
no-override
– If the viewer request doesn't contain the Authorization
header,
CloudFront signs the origin request. If the viewer request contains the Authorization
header,
CloudFront doesn't sign the origin request, but instead passes along the Authorization
header
that it received in the viewer request.
OriginAccessControlSigningBehaviors
public String getSigningBehavior()
A value that specifies which requests CloudFront signs (adds authentication information to). This field can have one of the following values:
never
– CloudFront doesn't sign any origin requests.
always
– CloudFront signs all origin requests, overwriting the Authorization
header
from the viewer request if necessary.
no-override
– If the viewer request doesn't contain the Authorization
header,
CloudFront signs the origin request. If the viewer request contains the Authorization
header,
CloudFront doesn't sign the origin request, but instead passes along the Authorization
header that
it received in the viewer request.
never
– CloudFront doesn't sign any origin requests.
always
– CloudFront signs all origin requests, overwriting the Authorization
header from the viewer request if necessary.
no-override
– If the viewer request doesn't contain the Authorization
header,
CloudFront signs the origin request. If the viewer request contains the Authorization
header, CloudFront doesn't sign the origin request, but instead passes along the
Authorization
header that it received in the viewer request.
OriginAccessControlSigningBehaviors
public OriginAccessControlSummary withSigningBehavior(String signingBehavior)
A value that specifies which requests CloudFront signs (adds authentication information to). This field can have one of the following values:
never
– CloudFront doesn't sign any origin requests.
always
– CloudFront signs all origin requests, overwriting the Authorization
header
from the viewer request if necessary.
no-override
– If the viewer request doesn't contain the Authorization
header,
CloudFront signs the origin request. If the viewer request contains the Authorization
header,
CloudFront doesn't sign the origin request, but instead passes along the Authorization
header that
it received in the viewer request.
signingBehavior
- A value that specifies which requests CloudFront signs (adds authentication information to). This field
can have one of the following values:
never
– CloudFront doesn't sign any origin requests.
always
– CloudFront signs all origin requests, overwriting the Authorization
header from the viewer request if necessary.
no-override
– If the viewer request doesn't contain the Authorization
header,
CloudFront signs the origin request. If the viewer request contains the Authorization
header,
CloudFront doesn't sign the origin request, but instead passes along the Authorization
header
that it received in the viewer request.
OriginAccessControlSigningBehaviors
public OriginAccessControlSummary withSigningBehavior(OriginAccessControlSigningBehaviors signingBehavior)
A value that specifies which requests CloudFront signs (adds authentication information to). This field can have one of the following values:
never
– CloudFront doesn't sign any origin requests.
always
– CloudFront signs all origin requests, overwriting the Authorization
header
from the viewer request if necessary.
no-override
– If the viewer request doesn't contain the Authorization
header,
CloudFront signs the origin request. If the viewer request contains the Authorization
header,
CloudFront doesn't sign the origin request, but instead passes along the Authorization
header that
it received in the viewer request.
signingBehavior
- A value that specifies which requests CloudFront signs (adds authentication information to). This field
can have one of the following values:
never
– CloudFront doesn't sign any origin requests.
always
– CloudFront signs all origin requests, overwriting the Authorization
header from the viewer request if necessary.
no-override
– If the viewer request doesn't contain the Authorization
header,
CloudFront signs the origin request. If the viewer request contains the Authorization
header,
CloudFront doesn't sign the origin request, but instead passes along the Authorization
header
that it received in the viewer request.
OriginAccessControlSigningBehaviors
public void setOriginAccessControlOriginType(String originAccessControlOriginType)
The type of origin that this origin access control is for.
originAccessControlOriginType
- The type of origin that this origin access control is for.OriginAccessControlOriginTypes
public String getOriginAccessControlOriginType()
The type of origin that this origin access control is for.
OriginAccessControlOriginTypes
public OriginAccessControlSummary withOriginAccessControlOriginType(String originAccessControlOriginType)
The type of origin that this origin access control is for.
originAccessControlOriginType
- The type of origin that this origin access control is for.OriginAccessControlOriginTypes
public OriginAccessControlSummary withOriginAccessControlOriginType(OriginAccessControlOriginTypes originAccessControlOriginType)
The type of origin that this origin access control is for.
originAccessControlOriginType
- The type of origin that this origin access control is for.OriginAccessControlOriginTypes
public String toString()
toString
in class Object
Object.toString()
public OriginAccessControlSummary clone()