Interface CreateRepositoryLinkResponse.Builder
- All Superinterfaces:
- AwsResponse.Builder,- Buildable,- CodeConnectionsResponse.Builder,- CopyableBuilder<CreateRepositoryLinkResponse.Builder,,- CreateRepositoryLinkResponse> - SdkBuilder<CreateRepositoryLinkResponse.Builder,,- CreateRepositoryLinkResponse> - SdkPojo,- SdkResponse.Builder
- Enclosing class:
- CreateRepositoryLinkResponse
@Mutable
@NotThreadSafe
public static interface CreateRepositoryLinkResponse.Builder
extends CodeConnectionsResponse.Builder, SdkPojo, CopyableBuilder<CreateRepositoryLinkResponse.Builder,CreateRepositoryLinkResponse> 
- 
Method SummaryModifier and TypeMethodDescriptionrepositoryLinkInfo(Consumer<RepositoryLinkInfo.Builder> repositoryLinkInfo) The returned information about the created repository link.repositoryLinkInfo(RepositoryLinkInfo repositoryLinkInfo) The returned information about the created repository link.Methods inherited from interface software.amazon.awssdk.services.codeconnections.model.CodeConnectionsResponse.Builderbuild, responseMetadata, responseMetadataMethods inherited from interface software.amazon.awssdk.utils.builder.CopyableBuildercopyMethods inherited from interface software.amazon.awssdk.utils.builder.SdkBuilderapplyMutation, buildMethods inherited from interface software.amazon.awssdk.core.SdkPojoequalsBySdkFields, sdkFieldNameToField, sdkFieldsMethods inherited from interface software.amazon.awssdk.core.SdkResponse.BuildersdkHttpResponse, sdkHttpResponse
- 
Method Details- 
repositoryLinkInfoThe returned information about the created repository link. - Parameters:
- repositoryLinkInfo- The returned information about the created repository link.
- Returns:
- Returns a reference to this object so that method calls can be chained together.
 
- 
repositoryLinkInfodefault CreateRepositoryLinkResponse.Builder repositoryLinkInfo(Consumer<RepositoryLinkInfo.Builder> repositoryLinkInfo) The returned information about the created repository link. 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 torepositoryLinkInfo(RepositoryLinkInfo).- Parameters:
- repositoryLinkInfo- a consumer that will call methods on- RepositoryLinkInfo.Builder
- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
 
 
-