Interface UpdateEnvironmentResponse.Builder
- All Superinterfaces:
AwsResponse.Builder
,Buildable
,CopyableBuilder<UpdateEnvironmentResponse.Builder,
,UpdateEnvironmentResponse> FinspaceResponse.Builder
,SdkBuilder<UpdateEnvironmentResponse.Builder,
,UpdateEnvironmentResponse> SdkPojo
,SdkResponse.Builder
- Enclosing class:
UpdateEnvironmentResponse
public static interface UpdateEnvironmentResponse.Builder
extends FinspaceResponse.Builder, SdkPojo, CopyableBuilder<UpdateEnvironmentResponse.Builder,UpdateEnvironmentResponse>
-
Method Summary
Modifier and TypeMethodDescriptionenvironment
(Consumer<Environment.Builder> environment) Returns the FinSpace environment object.environment
(Environment environment) Returns the FinSpace environment object.Methods inherited from interface software.amazon.awssdk.utils.builder.CopyableBuilder
copy
Methods inherited from interface software.amazon.awssdk.services.finspace.model.FinspaceResponse.Builder
build, responseMetadata, responseMetadata
Methods inherited from interface software.amazon.awssdk.utils.builder.SdkBuilder
applyMutation, build
Methods inherited from interface software.amazon.awssdk.core.SdkPojo
equalsBySdkFields, sdkFields
Methods inherited from interface software.amazon.awssdk.core.SdkResponse.Builder
sdkHttpResponse, sdkHttpResponse
-
Method Details
-
environment
Returns the FinSpace environment object.
- Parameters:
environment
- Returns the FinSpace environment object.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
environment
Returns the FinSpace environment object.
This is a convenience method that creates an instance of theEnvironment.Builder
avoiding the need to create one manually viaEnvironment.builder()
.When the
Consumer
completes,SdkBuilder.build()
is called immediately and its result is passed toenvironment(Environment)
.- Parameters:
environment
- a consumer that will call methods onEnvironment.Builder
- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-