Interface EndpointEncryptionConfiguration.Builder
- All Superinterfaces:
Buildable,CopyableBuilder<EndpointEncryptionConfiguration.Builder,,EndpointEncryptionConfiguration> SdkBuilder<EndpointEncryptionConfiguration.Builder,,EndpointEncryptionConfiguration> SdkPojo
- Enclosing class:
EndpointEncryptionConfiguration
-
Method Summary
Modifier and TypeMethodDescriptionThe configuration for automatic encryption, where MediaConnect determines the encryption key when the endpoint connects.The configuration for automatic encryption, where MediaConnect determines the encryption key when the endpoint connects.secretsManager(Consumer<SecretsManagerEndpointEncryptionConfiguration.Builder> secretsManager) The encryption configuration for a connection that uses a key or passphrase that you store in Secrets Manager.secretsManager(SecretsManagerEndpointEncryptionConfiguration secretsManager) The encryption configuration for a connection that uses a key or passphrase that you store in Secrets Manager.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
-
secretsManager
EndpointEncryptionConfiguration.Builder secretsManager(SecretsManagerEndpointEncryptionConfiguration secretsManager) The encryption configuration for a connection that uses a key or passphrase that you store in Secrets Manager.
- Parameters:
secretsManager- The encryption configuration for a connection that uses a key or passphrase that you store in Secrets Manager.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
secretsManager
default EndpointEncryptionConfiguration.Builder secretsManager(Consumer<SecretsManagerEndpointEncryptionConfiguration.Builder> secretsManager) The encryption configuration for a connection that uses a key or passphrase that you store in Secrets Manager.
This is a convenience method that creates an instance of theSecretsManagerEndpointEncryptionConfiguration.Builderavoiding the need to create one manually viaSecretsManagerEndpointEncryptionConfiguration.builder().When the
Consumercompletes,SdkBuilder.build()is called immediately and its result is passed tosecretsManager(SecretsManagerEndpointEncryptionConfiguration).- Parameters:
secretsManager- a consumer that will call methods onSecretsManagerEndpointEncryptionConfiguration.Builder- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-
automatic
EndpointEncryptionConfiguration.Builder automatic(AutomaticEndpointEncryptionConfiguration automatic) The configuration for automatic encryption, where MediaConnect determines the encryption key when the endpoint connects.
- Parameters:
automatic- The configuration for automatic encryption, where MediaConnect determines the encryption key when the endpoint connects.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
automatic
default EndpointEncryptionConfiguration.Builder automatic(Consumer<AutomaticEndpointEncryptionConfiguration.Builder> automatic) The configuration for automatic encryption, where MediaConnect determines the encryption key when the endpoint connects.
This is a convenience method that creates an instance of theAutomaticEndpointEncryptionConfiguration.Builderavoiding the need to create one manually viaAutomaticEndpointEncryptionConfiguration.builder().When the
Consumercompletes,SdkBuilder.build()is called immediately and its result is passed toautomatic(AutomaticEndpointEncryptionConfiguration).- Parameters:
automatic- a consumer that will call methods onAutomaticEndpointEncryptionConfiguration.Builder- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-