Interface CreateEnvironmentAccountConnectionResponse.Builder
- All Superinterfaces:
 AwsResponse.Builder,Buildable,CopyableBuilder<CreateEnvironmentAccountConnectionResponse.Builder,,CreateEnvironmentAccountConnectionResponse> ProtonResponse.Builder,SdkBuilder<CreateEnvironmentAccountConnectionResponse.Builder,,CreateEnvironmentAccountConnectionResponse> SdkPojo,SdkResponse.Builder
- Enclosing class:
 CreateEnvironmentAccountConnectionResponse
public static interface CreateEnvironmentAccountConnectionResponse.Builder
extends ProtonResponse.Builder, SdkPojo, CopyableBuilder<CreateEnvironmentAccountConnectionResponse.Builder,CreateEnvironmentAccountConnectionResponse> 
- 
Method Summary
Modifier and TypeMethodDescriptionenvironmentAccountConnection(Consumer<EnvironmentAccountConnection.Builder> environmentAccountConnection) The environment account connection detail data that's returned by Proton.environmentAccountConnection(EnvironmentAccountConnection environmentAccountConnection) The environment account connection detail data that's returned by Proton.Methods inherited from interface software.amazon.awssdk.utils.builder.CopyableBuilder
copyMethods inherited from interface software.amazon.awssdk.services.proton.model.ProtonResponse.Builder
build, responseMetadata, responseMetadataMethods inherited from interface software.amazon.awssdk.utils.builder.SdkBuilder
applyMutation, buildMethods inherited from interface software.amazon.awssdk.core.SdkPojo
equalsBySdkFields, sdkFieldNameToField, sdkFieldsMethods inherited from interface software.amazon.awssdk.core.SdkResponse.Builder
sdkHttpResponse, sdkHttpResponse 
- 
Method Details
- 
environmentAccountConnection
CreateEnvironmentAccountConnectionResponse.Builder environmentAccountConnection(EnvironmentAccountConnection environmentAccountConnection) The environment account connection detail data that's returned by Proton.
- Parameters:
 environmentAccountConnection- The environment account connection detail data that's returned by Proton.- Returns:
 - Returns a reference to this object so that method calls can be chained together.
 
 - 
environmentAccountConnection
default CreateEnvironmentAccountConnectionResponse.Builder environmentAccountConnection(Consumer<EnvironmentAccountConnection.Builder> environmentAccountConnection) The environment account connection detail data that's returned by Proton.
This is a convenience method that creates an instance of theEnvironmentAccountConnection.Builderavoiding the need to create one manually viaEnvironmentAccountConnection.builder().When the
Consumercompletes,SdkBuilder.build()is called immediately and its result is passed toenvironmentAccountConnection(EnvironmentAccountConnection).- Parameters:
 environmentAccountConnection- a consumer that will call methods onEnvironmentAccountConnection.Builder- Returns:
 - Returns a reference to this object so that method calls can be chained together.
 - See Also:
 
 
 -