Interface OriginAccessControlSummary.Builder
-
- All Superinterfaces:
Buildable
,CopyableBuilder<OriginAccessControlSummary.Builder,OriginAccessControlSummary>
,SdkBuilder<OriginAccessControlSummary.Builder,OriginAccessControlSummary>
,SdkPojo
- Enclosing class:
- OriginAccessControlSummary
public static interface OriginAccessControlSummary.Builder extends SdkPojo, CopyableBuilder<OriginAccessControlSummary.Builder,OriginAccessControlSummary>
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description OriginAccessControlSummary.Builder
description(String description)
A description of the origin access control.OriginAccessControlSummary.Builder
id(String id)
The unique identifier of the origin access control.OriginAccessControlSummary.Builder
name(String name)
A unique name that identifies the origin access control.OriginAccessControlSummary.Builder
originAccessControlOriginType(String originAccessControlOriginType)
The type of origin that this origin access control is for.OriginAccessControlSummary.Builder
originAccessControlOriginType(OriginAccessControlOriginTypes originAccessControlOriginType)
The type of origin that this origin access control is for.OriginAccessControlSummary.Builder
signingBehavior(String signingBehavior)
A value that specifies which requests CloudFront signs (adds authentication information to).OriginAccessControlSummary.Builder
signingBehavior(OriginAccessControlSigningBehaviors signingBehavior)
A value that specifies which requests CloudFront signs (adds authentication information to).OriginAccessControlSummary.Builder
signingProtocol(String signingProtocol)
The signing protocol of the origin access control.OriginAccessControlSummary.Builder
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 Detail
-
id
OriginAccessControlSummary.Builder id(String 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
OriginAccessControlSummary.Builder description(String 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
OriginAccessControlSummary.Builder name(String 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
OriginAccessControlSummary.Builder signingProtocol(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
.- 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:
OriginAccessControlSigningProtocols
,OriginAccessControlSigningProtocols
-
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:
OriginAccessControlSigningProtocols
,OriginAccessControlSigningProtocols
-
signingBehavior
OriginAccessControlSummary.Builder signingBehavior(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 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:
OriginAccessControlSigningBehaviors
,OriginAccessControlSigningBehaviors
-
-
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:
OriginAccessControlSigningBehaviors
,OriginAccessControlSigningBehaviors
-
-
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:
OriginAccessControlOriginTypes
,OriginAccessControlOriginTypes
-
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:
OriginAccessControlOriginTypes
,OriginAccessControlOriginTypes
-
-