Interface SigningScheme.Builder
- All Superinterfaces:
Buildable,CopyableBuilder<SigningScheme.Builder,,SigningScheme> SdkBuilder<SigningScheme.Builder,,SigningScheme> SdkPojo
- Enclosing class:
SigningScheme
-
Method Summary
Modifier and TypeMethodDescriptiondefault SigningScheme.BuilderdefaultScheme(Consumer<DefaultSigningScheme.Builder> defaultScheme) Use the default signing behavior.defaultScheme(DefaultSigningScheme defaultScheme) Use the default signing behavior.default SigningScheme.BuildersmimeScheme(Consumer<SmimeSigningScheme.Builder> smimeScheme) Sign messages sent with the configuration set using S/MIME.smimeScheme(SmimeSigningScheme smimeScheme) Sign messages sent with the configuration set using S/MIME.Methods inherited from interface software.amazon.awssdk.utils.builder.CopyableBuilder
copyMethods inherited from interface software.amazon.awssdk.utils.builder.SdkBuilder
applyMutation, buildMethods inherited from interface software.amazon.awssdk.core.SdkPojo
equalsBySdkFields, sdkFieldNameToField, sdkFields
-
Method Details
-
defaultScheme
Use the default signing behavior. When you select this option, Amazon SES API v2 doesn't add an S/MIME signature to messages sent with the configuration set.
- Parameters:
defaultScheme- Use the default signing behavior. When you select this option, Amazon SES API v2 doesn't add an S/MIME signature to messages sent with the configuration set.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
defaultScheme
Use the default signing behavior. When you select this option, Amazon SES API v2 doesn't add an S/MIME signature to messages sent with the configuration set.
This is a convenience method that creates an instance of theDefaultSigningScheme.Builderavoiding the need to create one manually viaDefaultSigningScheme.builder().When the
Consumercompletes,SdkBuilder.build()is called immediately and its result is passed todefaultScheme(DefaultSigningScheme).- Parameters:
defaultScheme- a consumer that will call methods onDefaultSigningScheme.Builder- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-
smimeScheme
Sign messages sent with the configuration set using S/MIME. For signing to apply, the email identity used to send a message must have an active S/MIME certificate association.
- Parameters:
smimeScheme- Sign messages sent with the configuration set using S/MIME. For signing to apply, the email identity used to send a message must have an active S/MIME certificate association.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
smimeScheme
Sign messages sent with the configuration set using S/MIME. For signing to apply, the email identity used to send a message must have an active S/MIME certificate association.
This is a convenience method that creates an instance of theSmimeSigningScheme.Builderavoiding the need to create one manually viaSmimeSigningScheme.builder().When the
Consumercompletes,SdkBuilder.build()is called immediately and its result is passed tosmimeScheme(SmimeSigningScheme).- Parameters:
smimeScheme- a consumer that will call methods onSmimeSigningScheme.Builder- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-