Interface GetEnvironmentResponse.Builder
- All Superinterfaces:
AwsResponse.Builder,Buildable,CopyableBuilder<GetEnvironmentResponse.Builder,,GetEnvironmentResponse> MwaaResponse.Builder,SdkBuilder<GetEnvironmentResponse.Builder,,GetEnvironmentResponse> SdkPojo,SdkResponse.Builder
- Enclosing class:
GetEnvironmentResponse
public static interface GetEnvironmentResponse.Builder
extends MwaaResponse.Builder, SdkPojo, CopyableBuilder<GetEnvironmentResponse.Builder,GetEnvironmentResponse>
-
Method Summary
Modifier and TypeMethodDescriptiondefault GetEnvironmentResponse.Builderenvironment(Consumer<Environment.Builder> environment) An object containing all available details about the environment.environment(Environment environment) An object containing all available details about the environment.Methods inherited from interface software.amazon.awssdk.utils.builder.CopyableBuilder
copyMethods inherited from interface software.amazon.awssdk.services.mwaa.model.MwaaResponse.Builder
build, responseMetadata, responseMetadataMethods inherited from interface software.amazon.awssdk.utils.builder.SdkBuilder
applyMutation, buildMethods inherited from interface software.amazon.awssdk.core.SdkPojo
equalsBySdkFields, sdkFieldsMethods inherited from interface software.amazon.awssdk.core.SdkResponse.Builder
sdkHttpResponse, sdkHttpResponse
-
Method Details
-
environment
An object containing all available details about the environment.
- Parameters:
environment- An object containing all available details about the environment.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
environment
An object containing all available details about the environment.
This is a convenience method that creates an instance of theEnvironment.Builderavoiding the need to create one manually viaEnvironment.builder().When the
Consumercompletes,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:
-