Interface EncryptionInfo.Builder
-
- All Superinterfaces:
Buildable
,CopyableBuilder<EncryptionInfo.Builder,EncryptionInfo>
,SdkBuilder<EncryptionInfo.Builder,EncryptionInfo>
,SdkPojo
- Enclosing class:
- EncryptionInfo
public static interface EncryptionInfo.Builder extends SdkPojo, CopyableBuilder<EncryptionInfo.Builder,EncryptionInfo>
-
-
Method Summary
All Methods Instance Methods Abstract Methods Default Methods Modifier and Type Method Description default EncryptionInfo.Builder
encryptionAtRest(Consumer<EncryptionAtRest.Builder> encryptionAtRest)
The data-volume encryption details.EncryptionInfo.Builder
encryptionAtRest(EncryptionAtRest encryptionAtRest)
The data-volume encryption details.default EncryptionInfo.Builder
encryptionInTransit(Consumer<EncryptionInTransit.Builder> encryptionInTransit)
The details for encryption in transit.EncryptionInfo.Builder
encryptionInTransit(EncryptionInTransit encryptionInTransit)
The details for encryption in transit.-
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
-
encryptionAtRest
EncryptionInfo.Builder encryptionAtRest(EncryptionAtRest encryptionAtRest)
The data-volume encryption details.
- Parameters:
encryptionAtRest
-The data-volume encryption details.
- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
encryptionAtRest
default EncryptionInfo.Builder encryptionAtRest(Consumer<EncryptionAtRest.Builder> encryptionAtRest)
The data-volume encryption details.
This is a convenience method that creates an instance of theEncryptionAtRest.Builder
avoiding the need to create one manually viaEncryptionAtRest.builder()
.When the
Consumer
completes,SdkBuilder.build()
is called immediately and its result is passed toencryptionAtRest(EncryptionAtRest)
.- Parameters:
encryptionAtRest
- a consumer that will call methods onEncryptionAtRest.Builder
- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
encryptionAtRest(EncryptionAtRest)
-
encryptionInTransit
EncryptionInfo.Builder encryptionInTransit(EncryptionInTransit encryptionInTransit)
The details for encryption in transit.
- Parameters:
encryptionInTransit
-The details for encryption in transit.
- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
encryptionInTransit
default EncryptionInfo.Builder encryptionInTransit(Consumer<EncryptionInTransit.Builder> encryptionInTransit)
The details for encryption in transit.
This is a convenience method that creates an instance of theEncryptionInTransit.Builder
avoiding the need to create one manually viaEncryptionInTransit.builder()
.When the
Consumer
completes,SdkBuilder.build()
is called immediately and its result is passed toencryptionInTransit(EncryptionInTransit)
.- Parameters:
encryptionInTransit
- a consumer that will call methods onEncryptionInTransit.Builder
- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
encryptionInTransit(EncryptionInTransit)
-
-