Interface Signer.Builder
-
- All Superinterfaces:
Buildable
,CopyableBuilder<Signer.Builder,Signer>
,SdkBuilder<Signer.Builder,Signer>
,SdkPojo
- Enclosing class:
- Signer
public static interface Signer.Builder extends SdkPojo, CopyableBuilder<Signer.Builder,Signer>
-
-
Method Summary
All Methods Instance Methods Abstract Methods Default Methods Modifier and Type Method Description Signer.Builder
awsAccountNumber(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.Signer.Builder
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 Detail
-
awsAccountNumber
Signer.Builder awsAccountNumber(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. 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
Signer.Builder keyPairIds(KeyPairIds 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
default Signer.Builder keyPairIds(Consumer<KeyPairIds.Builder> 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:
keyPairIds(KeyPairIds)
-
-