public fun build()

in src/common/src/aws/sdk/kotlin/crt/auth/credentials/StaticCredentialsProvider.kt [20:25]


    public fun build(): StaticCredentialsProvider {
        if (accessKeyId == null || secretAccessKey == null) {
            throw IllegalArgumentException("StaticCredentialsProvider - accessKeyId and secretAccessKey must not be null")
        }
        return StaticCredentialsProvider(this)
    }