Interface GetAccountConfigurationResponse.Builder
-
- All Superinterfaces:
AwsResponse.Builder,Buildable,CodeGuruSecurityResponse.Builder,CopyableBuilder<GetAccountConfigurationResponse.Builder,GetAccountConfigurationResponse>,SdkBuilder<GetAccountConfigurationResponse.Builder,GetAccountConfigurationResponse>,SdkPojo,SdkResponse.Builder
- Enclosing class:
- GetAccountConfigurationResponse
public static interface GetAccountConfigurationResponse.Builder extends CodeGuruSecurityResponse.Builder, SdkPojo, CopyableBuilder<GetAccountConfigurationResponse.Builder,GetAccountConfigurationResponse>
-
-
Method Summary
All Methods Instance Methods Abstract Methods Default Methods Modifier and Type Method Description default GetAccountConfigurationResponse.BuilderencryptionConfig(Consumer<EncryptionConfig.Builder> encryptionConfig)AnEncryptionConfigobject that contains the KMS key ARN to use for encryption.GetAccountConfigurationResponse.BuilderencryptionConfig(EncryptionConfig encryptionConfig)AnEncryptionConfigobject that contains the KMS key ARN to use for encryption.-
Methods inherited from interface software.amazon.awssdk.services.codegurusecurity.model.CodeGuruSecurityResponse.Builder
build, responseMetadata, responseMetadata
-
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
-
Methods inherited from interface software.amazon.awssdk.core.SdkResponse.Builder
sdkHttpResponse, sdkHttpResponse
-
-
-
-
Method Detail
-
encryptionConfig
GetAccountConfigurationResponse.Builder encryptionConfig(EncryptionConfig encryptionConfig)
An
EncryptionConfigobject that contains the KMS key ARN to use for encryption. By default, CodeGuru Security uses an AWS-managed key for encryption. To specify your own key, callUpdateAccountConfiguration.- Parameters:
encryptionConfig- AnEncryptionConfigobject that contains the KMS key ARN to use for encryption. By default, CodeGuru Security uses an AWS-managed key for encryption. To specify your own key, callUpdateAccountConfiguration.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
encryptionConfig
default GetAccountConfigurationResponse.Builder encryptionConfig(Consumer<EncryptionConfig.Builder> encryptionConfig)
An
This is a convenience method that creates an instance of theEncryptionConfigobject that contains the KMS key ARN to use for encryption. By default, CodeGuru Security uses an AWS-managed key for encryption. To specify your own key, callUpdateAccountConfiguration.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:
encryptionConfig(EncryptionConfig)
-
-