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 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

      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

      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 is sigv4.
      Returns:
      Returns a reference to this object so that method calls can be chained together.
      See Also:
    • 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 is sigv4.
      Returns:
      Returns a reference to this object so that method calls can be chained together.
      See Also:
    • 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 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.

      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 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.

      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 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.

      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 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.

      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: