Interface ListRepositoryLinksResponse.Builder
- All Superinterfaces:
AwsResponse.Builder
,Buildable
,CodeConnectionsResponse.Builder
,CopyableBuilder<ListRepositoryLinksResponse.Builder,
,ListRepositoryLinksResponse> SdkBuilder<ListRepositoryLinksResponse.Builder,
,ListRepositoryLinksResponse> SdkPojo
,SdkResponse.Builder
- Enclosing class:
ListRepositoryLinksResponse
@Mutable
@NotThreadSafe
public static interface ListRepositoryLinksResponse.Builder
extends CodeConnectionsResponse.Builder, SdkPojo, CopyableBuilder<ListRepositoryLinksResponse.Builder,ListRepositoryLinksResponse>
-
Method Summary
Modifier and TypeMethodDescriptionAn enumeration token that allows the operation to batch the results of the operation.repositoryLinks
(Collection<RepositoryLinkInfo> repositoryLinks) Lists the repository links called by the list repository links operation.repositoryLinks
(Consumer<RepositoryLinkInfo.Builder>... repositoryLinks) Lists the repository links called by the list repository links operation.repositoryLinks
(RepositoryLinkInfo... repositoryLinks) Lists the repository links called by the list repository links operation.Methods inherited from interface software.amazon.awssdk.services.codeconnections.model.CodeConnectionsResponse.Builder
build, responseMetadata, responseMetadata
Methods inherited from interface software.amazon.awssdk.utils.builder.CopyableBuilder
copy
Methods inherited from interface software.amazon.awssdk.utils.builder.SdkBuilder
applyMutation, build
Methods inherited from interface software.amazon.awssdk.core.SdkPojo
equalsBySdkFields, sdkFieldNameToField, sdkFields
Methods inherited from interface software.amazon.awssdk.core.SdkResponse.Builder
sdkHttpResponse, sdkHttpResponse
-
Method Details
-
repositoryLinks
Lists the repository links called by the list repository links operation.
- Parameters:
repositoryLinks
- Lists the repository links called by the list repository links operation.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
repositoryLinks
Lists the repository links called by the list repository links operation.
- Parameters:
repositoryLinks
- Lists the repository links called by the list repository links operation.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
repositoryLinks
ListRepositoryLinksResponse.Builder repositoryLinks(Consumer<RepositoryLinkInfo.Builder>... repositoryLinks) Lists the repository links called by the list repository links operation.
This is a convenience method that creates an instance of theRepositoryLinkInfo.Builder
avoiding the need to create one manually viaRepositoryLinkInfo.builder()
.When the
Consumer
completes,SdkBuilder.build()
is called immediately and its result is passed torepositoryLinks(List<RepositoryLinkInfo>)
.- Parameters:
repositoryLinks
- a consumer that will call methods onRepositoryLinkInfo.Builder
- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-
nextToken
An enumeration token that allows the operation to batch the results of the operation.
- Parameters:
nextToken
- An enumeration token that allows the operation to batch the results of the operation.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-