Interface GetAccountConfigurationResponse.Builder

All Superinterfaces:
AwsResponse.Builder, Buildable, CodeGuruSecurityResponse.Builder, CopyableBuilder<GetAccountConfigurationResponse.Builder,GetAccountConfigurationResponse>, SdkBuilder<GetAccountConfigurationResponse.Builder,GetAccountConfigurationResponse>, SdkPojo, SdkResponse.Builder
Enclosing class:
GetAccountConfigurationResponse

  • Method Details

    • encryptionConfig

      GetAccountConfigurationResponse.Builder encryptionConfig(EncryptionConfig encryptionConfig)

      An EncryptionConfig object that contains the KMS key ARN that is used for encryption. By default, CodeGuru Security uses an AWS-managed key for encryption. To specify your own key, call UpdateAccountConfiguration. If you do not specify a customer-managed key, returns empty.

      Parameters:
      encryptionConfig - An EncryptionConfig object that contains the KMS key ARN that is used for encryption. By default, CodeGuru Security uses an AWS-managed key for encryption. To specify your own key, call UpdateAccountConfiguration. If you do not specify a customer-managed key, returns empty.
      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 EncryptionConfig object that contains the KMS key ARN that is used for encryption. By default, CodeGuru Security uses an AWS-managed key for encryption. To specify your own key, call UpdateAccountConfiguration. If you do not specify a customer-managed key, returns empty.

      This is a convenience method that creates an instance of the EncryptionConfig.Builder avoiding the need to create one manually via EncryptionConfig.builder().

      When the Consumer completes, SdkBuilder.build() is called immediately and its result is passed to encryptionConfig(EncryptionConfig).

      Parameters:
      encryptionConfig - a consumer that will call methods on EncryptionConfig.Builder
      Returns:
      Returns a reference to this object so that method calls can be chained together.
      See Also: