public static interface EnvironmentResponse.Builder extends SdkPojo, CopyableBuilder<EnvironmentResponse.Builder,EnvironmentResponse>
Modifier and Type | Method and Description |
---|---|
default EnvironmentResponse.Builder |
error(Consumer<EnvironmentError.Builder> error)
Error messages for environment variables that couldn't be applied.
|
EnvironmentResponse.Builder |
error(EnvironmentError error)
Error messages for environment variables that couldn't be applied.
|
EnvironmentResponse.Builder |
variables(Map<String,String> variables)
Environment variable key-value pairs.
|
equalsBySdkFields, sdkFields
copy
applyMutation, build
EnvironmentResponse.Builder variables(Map<String,String> variables)
Environment variable key-value pairs. Omitted from CloudTrail logs.
variables
- Environment variable key-value pairs. Omitted from CloudTrail logs.EnvironmentResponse.Builder error(EnvironmentError error)
Error messages for environment variables that couldn't be applied.
error
- Error messages for environment variables that couldn't be applied.default EnvironmentResponse.Builder error(Consumer<EnvironmentError.Builder> error)
Error messages for environment variables that couldn't be applied.
This is a convenience method that creates an instance of theEnvironmentError.Builder
avoiding the
need to create one manually via EnvironmentError.builder()
.
When the Consumer
completes, SdkBuilder.build()
is called immediately and its
result is passed to error(EnvironmentError)
.
error
- a consumer that will call methods on EnvironmentError.Builder
error(EnvironmentError)
Copyright © 2023. All rights reserved.