Interface RejectEnvironmentAccountConnectionResponse.Builder
- All Superinterfaces:
AwsResponse.Builder
,Buildable
,CopyableBuilder<RejectEnvironmentAccountConnectionResponse.Builder,
,RejectEnvironmentAccountConnectionResponse> ProtonResponse.Builder
,SdkBuilder<RejectEnvironmentAccountConnectionResponse.Builder,
,RejectEnvironmentAccountConnectionResponse> SdkPojo
,SdkResponse.Builder
- Enclosing class:
RejectEnvironmentAccountConnectionResponse
public static interface RejectEnvironmentAccountConnectionResponse.Builder
extends ProtonResponse.Builder, SdkPojo, CopyableBuilder<RejectEnvironmentAccountConnectionResponse.Builder,RejectEnvironmentAccountConnectionResponse>
-
Method Summary
Modifier and TypeMethodDescriptionenvironmentAccountConnection
(Consumer<EnvironmentAccountConnection.Builder> environmentAccountConnection) The environment connection account detail data that's returned by Proton.environmentAccountConnection
(EnvironmentAccountConnection environmentAccountConnection) The environment connection account 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 Details
-
environmentAccountConnection
RejectEnvironmentAccountConnectionResponse.Builder environmentAccountConnection(EnvironmentAccountConnection environmentAccountConnection) The environment connection account detail data that's returned by Proton.
- Parameters:
environmentAccountConnection
- The environment connection account detail data that's returned by Proton.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
environmentAccountConnection
default RejectEnvironmentAccountConnectionResponse.Builder environmentAccountConnection(Consumer<EnvironmentAccountConnection.Builder> environmentAccountConnection) The environment connection account detail data that's returned by Proton.
This is a convenience method that creates an instance of theEnvironmentAccountConnection.Builder
avoiding the need to create one manually viaEnvironmentAccountConnection.builder()
.When the
Consumer
completes,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:
-