Interface Signer.Builder
- All Superinterfaces:
Buildable
,CopyableBuilder<Signer.Builder,
,Signer> SdkBuilder<Signer.Builder,
,Signer> SdkPojo
- Enclosing class:
Signer
-
Method Summary
Modifier and TypeMethodDescriptionawsAccountNumber
(String awsAccountNumber) An Amazon Web Services account number that contains active CloudFront key pairs that CloudFront can use to verify the signatures of signed URLs and signed cookies.default Signer.Builder
keyPairIds
(Consumer<KeyPairIds.Builder> keyPairIds) A list of CloudFront key pair identifiers.keyPairIds
(KeyPairIds keyPairIds) A list of CloudFront key pair identifiers.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 Details
-
awsAccountNumber
An Amazon Web Services account number that contains active CloudFront key pairs that CloudFront can use to verify the signatures of signed URLs and signed cookies. If the Amazon Web Services account that owns the key pairs is the same account that owns the CloudFront distribution, the value of this field is
self
.- Parameters:
awsAccountNumber
- An Amazon Web Services account number that contains active CloudFront key pairs that CloudFront can use to verify the signatures of signed URLs and signed cookies. If the Amazon Web Services account that owns the key pairs is the same account that owns the CloudFront distribution, the value of this field isself
.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
keyPairIds
A list of CloudFront key pair identifiers.
- Parameters:
keyPairIds
- A list of CloudFront key pair identifiers.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
keyPairIds
A list of CloudFront key pair identifiers.
This is a convenience method that creates an instance of theKeyPairIds.Builder
avoiding the need to create one manually viaKeyPairIds.builder()
.When the
Consumer
completes,SdkBuilder.build()
is called immediately and its result is passed tokeyPairIds(KeyPairIds)
.- Parameters:
keyPairIds
- a consumer that will call methods onKeyPairIds.Builder
- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-