Interface UpdateAccountConfigurationResponse.Builder
- All Superinterfaces:
AwsResponse.Builder,Buildable,CodeGuruSecurityResponse.Builder,CopyableBuilder<UpdateAccountConfigurationResponse.Builder,,UpdateAccountConfigurationResponse> SdkBuilder<UpdateAccountConfigurationResponse.Builder,,UpdateAccountConfigurationResponse> SdkPojo,SdkResponse.Builder
- Enclosing class:
UpdateAccountConfigurationResponse
public static interface UpdateAccountConfigurationResponse.Builder
extends CodeGuruSecurityResponse.Builder, SdkPojo, CopyableBuilder<UpdateAccountConfigurationResponse.Builder,UpdateAccountConfigurationResponse>
-
Method Summary
Modifier and TypeMethodDescriptionencryptionConfig(Consumer<EncryptionConfig.Builder> encryptionConfig) AnEncryptionConfigobject that contains the KMS key ARN that is used for encryption.encryptionConfig(EncryptionConfig encryptionConfig) AnEncryptionConfigobject that contains the KMS key ARN that is used for encryption.Methods inherited from interface software.amazon.awssdk.services.codegurusecurity.model.CodeGuruSecurityResponse.Builder
build, responseMetadata, responseMetadataMethods 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, sdkFieldsMethods inherited from interface software.amazon.awssdk.core.SdkResponse.Builder
sdkHttpResponse, sdkHttpResponse
-
Method Details
-
encryptionConfig
An
EncryptionConfigobject that contains the KMS key ARN that is used for encryption. If you did not specify a customer-managed KMS key in the request, returns empty.- Parameters:
encryptionConfig- AnEncryptionConfigobject that contains the KMS key ARN that is used for encryption. If you did not specify a customer-managed KMS key in the request, returns empty.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
encryptionConfig
default UpdateAccountConfigurationResponse.Builder encryptionConfig(Consumer<EncryptionConfig.Builder> encryptionConfig) An
This is a convenience method that creates an instance of theEncryptionConfigobject that contains the KMS key ARN that is used for encryption. If you did not specify a customer-managed KMS key in the request, returns empty.EncryptionConfig.Builderavoiding the need to create one manually viaEncryptionConfig.builder().When the
Consumercompletes,SdkBuilder.build()is called immediately and its result is passed toencryptionConfig(EncryptionConfig).- Parameters:
encryptionConfig- a consumer that will call methods onEncryptionConfig.Builder- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-