Interface UpdateEnvironmentResponse.Builder
-
- All Superinterfaces:
AwsResponse.Builder,Buildable,CopyableBuilder<UpdateEnvironmentResponse.Builder,UpdateEnvironmentResponse>,ProtonResponse.Builder,SdkBuilder<UpdateEnvironmentResponse.Builder,UpdateEnvironmentResponse>,SdkPojo,SdkResponse.Builder
- Enclosing class:
- UpdateEnvironmentResponse
public static interface UpdateEnvironmentResponse.Builder extends ProtonResponse.Builder, SdkPojo, CopyableBuilder<UpdateEnvironmentResponse.Builder,UpdateEnvironmentResponse>
-
-
Method Summary
All Methods Instance Methods Abstract Methods Default Methods Modifier and Type Method Description default UpdateEnvironmentResponse.Builderenvironment(Consumer<Environment.Builder> environment)The environment detail data that's returned by Proton.UpdateEnvironmentResponse.Builderenvironment(Environment environment)The environment detail data that's returned by Proton.-
Methods inherited from interface software.amazon.awssdk.utils.builder.CopyableBuilder
copy
-
Methods inherited from interface software.amazon.awssdk.services.proton.model.ProtonResponse.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 Detail
-
environment
UpdateEnvironmentResponse.Builder environment(Environment environment)
The environment detail data that's returned by Proton.
- Parameters:
environment- The environment detail data that's returned by Proton.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
environment
default UpdateEnvironmentResponse.Builder environment(Consumer<Environment.Builder> environment)
The environment detail data that's returned by Proton.
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:
environment(Environment)
-
-