public static interface GetEnvironmentResponse.Builder extends ProtonResponse.Builder, SdkPojo, CopyableBuilder<GetEnvironmentResponse.Builder,GetEnvironmentResponse>
| Modifier and Type | Method and Description |
|---|---|
default GetEnvironmentResponse.Builder |
environment(Consumer<Environment.Builder> environment)
The detailed data of the requested environment.
|
GetEnvironmentResponse.Builder |
environment(Environment environment)
The detailed data of the requested environment.
|
build, responseMetadata, responseMetadatasdkHttpResponse, sdkHttpResponseequalsBySdkFields, sdkFieldscopyapplyMutation, buildGetEnvironmentResponse.Builder environment(Environment environment)
The detailed data of the requested environment.
environment - The detailed data of the requested environment.default GetEnvironmentResponse.Builder environment(Consumer<Environment.Builder> environment)
The detailed data of the requested environment.
This is a convenience method that creates an instance of theEnvironment.Builder avoiding the need to
create one manually via Environment.builder().
When the Consumer completes, SdkBuilder.build() is called immediately and its result
is passed to environment(Environment).
environment - a consumer that will call methods on Environment.Builderenvironment(Environment)Copyright © 2023. All rights reserved.