Interface OriginAccessControlSummary.Builder

    • 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 is sigv4.
        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 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:
        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 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:
        OriginAccessControlSigningBehaviors, OriginAccessControlSigningBehaviors