Interface ListPrivateConnectionsResponse.Builder
- All Superinterfaces:
AwsResponse.Builder,Buildable,CopyableBuilder<ListPrivateConnectionsResponse.Builder,,ListPrivateConnectionsResponse> DevOpsAgentResponse.Builder,SdkBuilder<ListPrivateConnectionsResponse.Builder,,ListPrivateConnectionsResponse> SdkPojo,SdkResponse.Builder
- Enclosing class:
ListPrivateConnectionsResponse
@Mutable
@NotThreadSafe
public static interface ListPrivateConnectionsResponse.Builder
extends DevOpsAgentResponse.Builder, SdkPojo, CopyableBuilder<ListPrivateConnectionsResponse.Builder,ListPrivateConnectionsResponse>
-
Method Summary
Modifier and TypeMethodDescriptionprivateConnections(Collection<PrivateConnectionSummary> privateConnections) The list of Private Connections.privateConnections(Consumer<PrivateConnectionSummary.Builder>... privateConnections) The list of Private Connections.privateConnections(PrivateConnectionSummary... privateConnections) The list of Private Connections.Methods inherited from interface software.amazon.awssdk.utils.builder.CopyableBuilder
copyMethods inherited from interface software.amazon.awssdk.services.devopsagent.model.DevOpsAgentResponse.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
-
privateConnections
ListPrivateConnectionsResponse.Builder privateConnections(Collection<PrivateConnectionSummary> privateConnections) The list of Private Connections.
- Parameters:
privateConnections- The list of Private Connections.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
privateConnections
ListPrivateConnectionsResponse.Builder privateConnections(PrivateConnectionSummary... privateConnections) The list of Private Connections.
- Parameters:
privateConnections- The list of Private Connections.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
privateConnections
ListPrivateConnectionsResponse.Builder privateConnections(Consumer<PrivateConnectionSummary.Builder>... privateConnections) The list of Private Connections.
This is a convenience method that creates an instance of thePrivateConnectionSummary.Builderavoiding the need to create one manually viaPrivateConnectionSummary.builder().When the
Consumercompletes,SdkBuilder.build()is called immediately and its result is passed toprivateConnections(List<PrivateConnectionSummary>).- Parameters:
privateConnections- a consumer that will call methods onPrivateConnectionSummary.Builder- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-