Interface UpdateRepositoryLinkResponse.Builder
- All Superinterfaces:
AwsResponse.Builder
,Buildable
,CodeConnectionsResponse.Builder
,CopyableBuilder<UpdateRepositoryLinkResponse.Builder,
,UpdateRepositoryLinkResponse> SdkBuilder<UpdateRepositoryLinkResponse.Builder,
,UpdateRepositoryLinkResponse> SdkPojo
,SdkResponse.Builder
- Enclosing class:
UpdateRepositoryLinkResponse
@Mutable
@NotThreadSafe
public static interface UpdateRepositoryLinkResponse.Builder
extends CodeConnectionsResponse.Builder, SdkPojo, CopyableBuilder<UpdateRepositoryLinkResponse.Builder,UpdateRepositoryLinkResponse>
-
Method Summary
Modifier and TypeMethodDescriptionrepositoryLinkInfo
(Consumer<RepositoryLinkInfo.Builder> repositoryLinkInfo) Information about the repository link to be updated.repositoryLinkInfo
(RepositoryLinkInfo repositoryLinkInfo) Information about the repository link to be updated.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
-
repositoryLinkInfo
Information about the repository link to be updated.
- Parameters:
repositoryLinkInfo
- Information about the repository link to be updated.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
repositoryLinkInfo
default UpdateRepositoryLinkResponse.Builder repositoryLinkInfo(Consumer<RepositoryLinkInfo.Builder> repositoryLinkInfo) Information about the repository link to be updated.
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:
-