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 could not be applied.
|
EnvironmentResponse.Builder |
error(EnvironmentError error)
Error messages for environment variables that could not be applied.
|
EnvironmentResponse.Builder |
variables(Map<String,String> variables)
Environment variable key-value pairs.
|
copyapplyMutation, buildEnvironmentResponse.Builder variables(Map<String,String> variables)
Environment variable key-value pairs.
variables - Environment variable key-value pairs.EnvironmentResponse.Builder error(EnvironmentError error)
Error messages for environment variables that could not be applied.
error - Error messages for environment variables that could not be applied.default EnvironmentResponse.Builder error(Consumer<EnvironmentError.Builder> error)
Error messages for environment variables that could not be applied.
This is a convenience 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.Buildererror(EnvironmentError)Copyright © 2017 Amazon Web Services, Inc. All Rights Reserved.