Interface ListRepositoryLinksResponse.Builder
- All Superinterfaces:
AwsResponse.Builder,Buildable,CodeStarConnectionsResponse.Builder,CopyableBuilder<ListRepositoryLinksResponse.Builder,,ListRepositoryLinksResponse> SdkBuilder<ListRepositoryLinksResponse.Builder,,ListRepositoryLinksResponse> SdkPojo,SdkResponse.Builder
- Enclosing class:
ListRepositoryLinksResponse
public static interface ListRepositoryLinksResponse.Builder
extends CodeStarConnectionsResponse.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.codestarconnections.model.CodeStarConnectionsResponse.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, sdkFieldsMethods 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.Builderavoiding the need to create one manually viaRepositoryLinkInfo.builder().When the
Consumercompletes,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.
-