Interface GetRepositoryLinkResponse.Builder
- All Superinterfaces:
AwsResponse.Builder
,Buildable
,CodeConnectionsResponse.Builder
,CopyableBuilder<GetRepositoryLinkResponse.Builder,
,GetRepositoryLinkResponse> SdkBuilder<GetRepositoryLinkResponse.Builder,
,GetRepositoryLinkResponse> SdkPojo
,SdkResponse.Builder
- Enclosing class:
GetRepositoryLinkResponse
public static interface GetRepositoryLinkResponse.Builder
extends CodeConnectionsResponse.Builder, SdkPojo, CopyableBuilder<GetRepositoryLinkResponse.Builder,GetRepositoryLinkResponse>
-
Method Summary
Modifier and TypeMethodDescriptionrepositoryLinkInfo
(Consumer<RepositoryLinkInfo.Builder> repositoryLinkInfo) The information returned for a specified repository link.repositoryLinkInfo
(RepositoryLinkInfo repositoryLinkInfo) The information returned for a specified repository link.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, sdkFields
Methods inherited from interface software.amazon.awssdk.core.SdkResponse.Builder
sdkHttpResponse, sdkHttpResponse
-
Method Details
-
repositoryLinkInfo
The information returned for a specified repository link.
- Parameters:
repositoryLinkInfo
- The information returned for a specified repository link.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
repositoryLinkInfo
default GetRepositoryLinkResponse.Builder repositoryLinkInfo(Consumer<RepositoryLinkInfo.Builder> repositoryLinkInfo) The information returned for a specified repository link.
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 torepositoryLinkInfo(RepositoryLinkInfo)
.- Parameters:
repositoryLinkInfo
- 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:
-