Interface ResponseHeadersPolicyCustomHeader.Builder

All Superinterfaces:
Buildable, CopyableBuilder<ResponseHeadersPolicyCustomHeader.Builder,ResponseHeadersPolicyCustomHeader>, SdkBuilder<ResponseHeadersPolicyCustomHeader.Builder,ResponseHeadersPolicyCustomHeader>, SdkPojo
Enclosing class:
ResponseHeadersPolicyCustomHeader

public static interface ResponseHeadersPolicyCustomHeader.Builder extends SdkPojo, CopyableBuilder<ResponseHeadersPolicyCustomHeader.Builder,ResponseHeadersPolicyCustomHeader>
  • Method Details

    • header

      The HTTP response header name.

      Parameters:
      header - The HTTP response header name.
      Returns:
      Returns a reference to this object so that method calls can be chained together.
    • value

      The value for the HTTP response header.

      Parameters:
      value - The value for the HTTP response header.
      Returns:
      Returns a reference to this object so that method calls can be chained together.
    • override

      A Boolean that determines whether CloudFront overrides a response header with the same name received from the origin with the header specified here.

      Parameters:
      override - A Boolean that determines whether CloudFront overrides a response header with the same name received from the origin with the header specified here.
      Returns:
      Returns a reference to this object so that method calls can be chained together.