Interface ListGitConnectionsResponse.Builder
- All Superinterfaces:
AmplifyGen3Response.Builder,AwsResponse.Builder,Buildable,CopyableBuilder<ListGitConnectionsResponse.Builder,,ListGitConnectionsResponse> SdkBuilder<ListGitConnectionsResponse.Builder,,ListGitConnectionsResponse> SdkPojo,SdkResponse.Builder
- Enclosing class:
ListGitConnectionsResponse
@Mutable
@NotThreadSafe
public static interface ListGitConnectionsResponse.Builder
extends AmplifyGen3Response.Builder, SdkPojo, CopyableBuilder<ListGitConnectionsResponse.Builder,ListGitConnectionsResponse>
-
Method Summary
Modifier and TypeMethodDescriptiongitConnections(Collection<GitConnectionSummary> gitConnections) The connected Git provider accounts.gitConnections(Consumer<GitConnectionSummary.Builder>... gitConnections) The connected Git provider accounts.gitConnections(GitConnectionSummary... gitConnections) The connected Git provider accounts.The token to use in the next request to get the next page of results.Methods inherited from interface software.amazon.awssdk.services.amplifygen3.model.AmplifyGen3Response.Builder
build, responseMetadata, responseMetadataMethods inherited from interface software.amazon.awssdk.utils.builder.CopyableBuilder
copyMethods 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
-
gitConnections
The connected Git provider accounts.
- Parameters:
gitConnections- The connected Git provider accounts.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
gitConnections
The connected Git provider accounts.
- Parameters:
gitConnections- The connected Git provider accounts.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
gitConnections
ListGitConnectionsResponse.Builder gitConnections(Consumer<GitConnectionSummary.Builder>... gitConnections) The connected Git provider accounts.
This is a convenience method that creates an instance of theGitConnectionSummary.Builderavoiding the need to create one manually viaGitConnectionSummary.builder().When the
Consumercompletes,SdkBuilder.build()is called immediately and its result is passed togitConnections(List<GitConnectionSummary>).- Parameters:
gitConnections- a consumer that will call methods onGitConnectionSummary.Builder- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-
nextToken
The token to use in the next request to get the next page of results. This value is absent when there are no more results.
- Parameters:
nextToken- The token to use in the next request to get the next page of results. This value is absent when there are no more results.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-