public static interface SourceConfiguration.Builder extends SdkPojo, CopyableBuilder<SourceConfiguration.Builder,SourceConfiguration>
| Modifier and Type | Method and Description |
|---|---|
SourceConfiguration.Builder |
authenticationConfiguration(AuthenticationConfiguration authenticationConfiguration)
Describes the resources that are needed to authenticate access to some source repositories.
|
default SourceConfiguration.Builder |
authenticationConfiguration(Consumer<AuthenticationConfiguration.Builder> authenticationConfiguration)
Describes the resources that are needed to authenticate access to some source repositories.
|
SourceConfiguration.Builder |
autoDeploymentsEnabled(Boolean autoDeploymentsEnabled)
If
true, continuous integration from the source repository is enabled for the App Runner
service. |
SourceConfiguration.Builder |
codeRepository(CodeRepository codeRepository)
The description of a source code repository.
|
default SourceConfiguration.Builder |
codeRepository(Consumer<CodeRepository.Builder> codeRepository)
The description of a source code repository.
|
default SourceConfiguration.Builder |
imageRepository(Consumer<ImageRepository.Builder> imageRepository)
The description of a source image repository.
|
SourceConfiguration.Builder |
imageRepository(ImageRepository imageRepository)
The description of a source image repository.
|
equalsBySdkFields, sdkFieldscopyapplyMutation, buildSourceConfiguration.Builder codeRepository(CodeRepository codeRepository)
The description of a source code repository.
You must provide either this member or ImageRepository (but not both).
codeRepository - The description of a source code repository.
You must provide either this member or ImageRepository (but not both).
default SourceConfiguration.Builder codeRepository(Consumer<CodeRepository.Builder> codeRepository)
The description of a source code repository.
You must provide either this member or ImageRepository (but not both).
CodeRepository.Builder avoiding the need to
create one manually via CodeRepository.builder().
When the Consumer completes, SdkBuilder.build() is called immediately and its
result is passed to codeRepository(CodeRepository).codeRepository - a consumer that will call methods on CodeRepository.BuildercodeRepository(CodeRepository)SourceConfiguration.Builder imageRepository(ImageRepository imageRepository)
The description of a source image repository.
You must provide either this member or CodeRepository (but not both).
imageRepository - The description of a source image repository.
You must provide either this member or CodeRepository (but not both).
default SourceConfiguration.Builder imageRepository(Consumer<ImageRepository.Builder> imageRepository)
The description of a source image repository.
You must provide either this member or CodeRepository (but not both).
ImageRepository.Builder avoiding the need to
create one manually via ImageRepository.builder().
When the Consumer completes, SdkBuilder.build() is called immediately and its
result is passed to imageRepository(ImageRepository).imageRepository - a consumer that will call methods on ImageRepository.BuilderimageRepository(ImageRepository)SourceConfiguration.Builder autoDeploymentsEnabled(Boolean autoDeploymentsEnabled)
If true, continuous integration from the source repository is enabled for the App Runner
service. Each repository change (source code commit or new image version) starts a deployment.
Default: true
autoDeploymentsEnabled - If true, continuous integration from the source repository is enabled for the App Runner
service. Each repository change (source code commit or new image version) starts a deployment.
Default: true
SourceConfiguration.Builder authenticationConfiguration(AuthenticationConfiguration authenticationConfiguration)
Describes the resources that are needed to authenticate access to some source repositories.
authenticationConfiguration - Describes the resources that are needed to authenticate access to some source repositories.default SourceConfiguration.Builder authenticationConfiguration(Consumer<AuthenticationConfiguration.Builder> authenticationConfiguration)
Describes the resources that are needed to authenticate access to some source repositories.
This is a convenience that creates an instance of theAuthenticationConfiguration.Builder avoiding
the need to create one manually via AuthenticationConfiguration.builder().
When the Consumer completes, SdkBuilder.build() is called
immediately and its result is passed to authenticationConfiguration(AuthenticationConfiguration).authenticationConfiguration - a consumer that will call methods on AuthenticationConfiguration.BuilderauthenticationConfiguration(AuthenticationConfiguration)Copyright © 2021. All rights reserved.