public static interface EnvironmentResponse.Builder extends CopyableBuilder<EnvironmentResponse.Builder,EnvironmentResponse>
Modifier and Type | Method and Description |
---|---|
default EnvironmentResponse.Builder |
error(Consumer<EnvironmentError.Builder> error)
Sets the value of the Error property for this object.
|
EnvironmentResponse.Builder |
error(EnvironmentError error)
Sets the value of the Error property for this object.
|
EnvironmentResponse.Builder |
variables(Map<String,String> variables)
The key-value pairs returned that represent your environment's configuration settings or error information.
|
copy
apply, build
EnvironmentResponse.Builder variables(Map<String,String> variables)
The key-value pairs returned that represent your environment's configuration settings or error information.
variables
- The key-value pairs returned that represent your environment's configuration settings or error
information.EnvironmentResponse.Builder error(EnvironmentError error)
error
- The new value for the Error property for this object.default EnvironmentResponse.Builder error(Consumer<EnvironmentError.Builder> error)
EnvironmentError.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 © 2017 Amazon Web Services, Inc. All Rights Reserved.