Interface OriginAccessControlSummary.Builder
- All Superinterfaces:
Buildable
,CopyableBuilder<OriginAccessControlSummary.Builder,
,OriginAccessControlSummary> SdkBuilder<OriginAccessControlSummary.Builder,
,OriginAccessControlSummary> SdkPojo
- Enclosing class:
OriginAccessControlSummary
-
Method Summary
Modifier and TypeMethodDescriptiondescription
(String description) A description of the origin access control.The unique identifier of the origin access control.A unique name that identifies the origin access control.originAccessControlOriginType
(String originAccessControlOriginType) The type of origin that this origin access control is for.originAccessControlOriginType
(OriginAccessControlOriginTypes originAccessControlOriginType) The type of origin that this origin access control is for.signingBehavior
(String signingBehavior) A value that specifies which requests CloudFront signs (adds authentication information to).signingBehavior
(OriginAccessControlSigningBehaviors signingBehavior) A value that specifies which requests CloudFront signs (adds authentication information to).signingProtocol
(String signingProtocol) The signing protocol of the origin access control.signingProtocol
(OriginAccessControlSigningProtocols signingProtocol) The signing protocol of the origin access control.Methods inherited from interface software.amazon.awssdk.utils.builder.CopyableBuilder
copy
Methods inherited from interface software.amazon.awssdk.utils.builder.SdkBuilder
applyMutation, build
Methods inherited from interface software.amazon.awssdk.core.SdkPojo
equalsBySdkFields, sdkFields
-
Method Details
-
id
The unique identifier of the origin access control.
- Parameters:
id
- The unique identifier of the origin access control.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
description
A description of the origin access control.
- Parameters:
description
- A description of the origin access control.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
name
A unique name that identifies the origin access control.
- Parameters:
name
- A unique name that identifies the origin access control.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
signingProtocol
The signing protocol of the origin access control. The signing protocol determines how CloudFront signs (authenticates) requests. The only valid value is
sigv4
.- Parameters:
signingProtocol
- The signing protocol of the origin access control. The signing protocol determines how CloudFront signs (authenticates) requests. The only valid value issigv4
.- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-
signingProtocol
OriginAccessControlSummary.Builder signingProtocol(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
.- Parameters:
signingProtocol
- The signing protocol of the origin access control. The signing protocol determines how CloudFront signs (authenticates) requests. The only valid value issigv4
.- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-
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 theAuthorization
header from the viewer request if necessary. -
no-override
– If the viewer request doesn't contain theAuthorization
header, CloudFront signs the origin request. If the viewer request contains theAuthorization
header, CloudFront doesn't sign the origin request, but instead passes along theAuthorization
header that it received in the viewer request.
- Parameters:
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 theAuthorization
header from the viewer request if necessary. -
no-override
– If the viewer request doesn't contain theAuthorization
header, CloudFront signs the origin request. If the viewer request contains theAuthorization
header, CloudFront doesn't sign the origin request, but instead passes along theAuthorization
header that it received in the viewer request.
-
- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-
-
signingBehavior
OriginAccessControlSummary.Builder signingBehavior(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 theAuthorization
header from the viewer request if necessary. -
no-override
– If the viewer request doesn't contain theAuthorization
header, CloudFront signs the origin request. If the viewer request contains theAuthorization
header, CloudFront doesn't sign the origin request, but instead passes along theAuthorization
header that it received in the viewer request.
- Parameters:
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 theAuthorization
header from the viewer request if necessary. -
no-override
– If the viewer request doesn't contain theAuthorization
header, CloudFront signs the origin request. If the viewer request contains theAuthorization
header, CloudFront doesn't sign the origin request, but instead passes along theAuthorization
header that it received in the viewer request.
-
- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-
-
originAccessControlOriginType
OriginAccessControlSummary.Builder originAccessControlOriginType(String originAccessControlOriginType) The type of origin that this origin access control is for.
- Parameters:
originAccessControlOriginType
- The type of origin that this origin access control is for.- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-
originAccessControlOriginType
OriginAccessControlSummary.Builder originAccessControlOriginType(OriginAccessControlOriginTypes originAccessControlOriginType) The type of origin that this origin access control is for.
- Parameters:
originAccessControlOriginType
- The type of origin that this origin access control is for.- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-