Interface ActiveTrustedKeyGroups.Builder

  • Method Details

    • enabled

      This field is true if any of the key groups have public keys that CloudFront can use to verify the signatures of signed URLs and signed cookies. If not, this field is false.

      Parameters:
      enabled - This field is true if any of the key groups have public keys that CloudFront can use to verify the signatures of signed URLs and signed cookies. If not, this field is false.
      Returns:
      Returns a reference to this object so that method calls can be chained together.
    • quantity

      The number of key groups in the list.

      Parameters:
      quantity - The number of key groups in the list.
      Returns:
      Returns a reference to this object so that method calls can be chained together.
    • items

      A list of key groups, including the identifiers of the public keys in each key group that CloudFront can use to verify the signatures of signed URLs and signed cookies.

      Parameters:
      items - A list of key groups, including the identifiers of the public keys in each key group that CloudFront can use to verify the signatures of signed URLs and signed cookies.
      Returns:
      Returns a reference to this object so that method calls can be chained together.
    • items

      A list of key groups, including the identifiers of the public keys in each key group that CloudFront can use to verify the signatures of signed URLs and signed cookies.

      Parameters:
      items - A list of key groups, including the identifiers of the public keys in each key group that CloudFront can use to verify the signatures of signed URLs and signed cookies.
      Returns:
      Returns a reference to this object so that method calls can be chained together.
    • items

      A list of key groups, including the identifiers of the public keys in each key group that CloudFront can use to verify the signatures of signed URLs and signed cookies.

      This is a convenience method that creates an instance of the KGKeyPairIds.Builder avoiding the need to create one manually via KGKeyPairIds.builder().

      When the Consumer completes, SdkBuilder.build() is called immediately and its result is passed to items(List<KGKeyPairIds>).

      Parameters:
      items - a consumer that will call methods on KGKeyPairIds.Builder
      Returns:
      Returns a reference to this object so that method calls can be chained together.
      See Also: