Interface SourceConfiguration.Builder
- All Superinterfaces:
Buildable
,CopyableBuilder<SourceConfiguration.Builder,
,SourceConfiguration> SdkBuilder<SourceConfiguration.Builder,
,SourceConfiguration> SdkPojo
- Enclosing class:
SourceConfiguration
-
Method Summary
Modifier and TypeMethodDescriptiondefault SourceConfiguration.Builder
authenticationConfiguration
(Consumer<AuthenticationConfiguration.Builder> authenticationConfiguration) Describes the resources that are needed to authenticate access to some source repositories.authenticationConfiguration
(AuthenticationConfiguration authenticationConfiguration) Describes the resources that are needed to authenticate access to some source repositories.autoDeploymentsEnabled
(Boolean autoDeploymentsEnabled) Iftrue
, continuous integration from the source repository is enabled for the App Runner service.default SourceConfiguration.Builder
codeRepository
(Consumer<CodeRepository.Builder> codeRepository) The description of a source code repository.codeRepository
(CodeRepository codeRepository) The description of a source code repository.default SourceConfiguration.Builder
imageRepository
(Consumer<ImageRepository.Builder> imageRepository) The description of a source image repository.imageRepository
(ImageRepository imageRepository) The description of a source image repository.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
-
Method Details
-
codeRepository
The description of a source code repository.
You must provide either this member or
ImageRepository
(but not both).- Parameters:
codeRepository
- The description of a source code repository.You must provide either this member or
ImageRepository
(but not both).- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
codeRepository
The description of a source code repository.
You must provide either this member or
This is a convenience method that creates an instance of theImageRepository
(but not both).CodeRepository.Builder
avoiding the need to create one manually viaCodeRepository.builder()
.When the
Consumer
completes,SdkBuilder.build()
is called immediately and its result is passed tocodeRepository(CodeRepository)
.- Parameters:
codeRepository
- a consumer that will call methods onCodeRepository.Builder
- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-
imageRepository
The description of a source image repository.
You must provide either this member or
CodeRepository
(but not both).- Parameters:
imageRepository
- The description of a source image repository.You must provide either this member or
CodeRepository
(but not both).- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
imageRepository
default SourceConfiguration.Builder imageRepository(Consumer<ImageRepository.Builder> imageRepository) The description of a source image repository.
You must provide either this member or
This is a convenience method that creates an instance of theCodeRepository
(but not both).ImageRepository.Builder
avoiding the need to create one manually viaImageRepository.builder()
.When the
Consumer
completes,SdkBuilder.build()
is called immediately and its result is passed toimageRepository(ImageRepository)
.- Parameters:
imageRepository
- a consumer that will call methods onImageRepository.Builder
- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-
autoDeploymentsEnabled
If
true
, continuous integration from the source repository is enabled for the App Runner service. Each repository change (including any source code commit or new image version) starts a deployment.Default: App Runner sets to
false
for a source image that uses an ECR Public repository or an ECR repository that's in an Amazon Web Services account other than the one that the service is in. App Runner sets totrue
in all other cases (which currently include a source code repository or a source image using a same-account ECR repository).- Parameters:
autoDeploymentsEnabled
- Iftrue
, continuous integration from the source repository is enabled for the App Runner service. Each repository change (including any source code commit or new image version) starts a deployment.Default: App Runner sets to
false
for a source image that uses an ECR Public repository or an ECR repository that's in an Amazon Web Services account other than the one that the service is in. App Runner sets totrue
in all other cases (which currently include a source code repository or a source image using a same-account ECR repository).- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
authenticationConfiguration
SourceConfiguration.Builder authenticationConfiguration(AuthenticationConfiguration authenticationConfiguration) Describes the resources that are needed to authenticate access to some source repositories.
- Parameters:
authenticationConfiguration
- Describes the resources that are needed to authenticate access to some source repositories.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
authenticationConfiguration
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 method that creates an instance of theAuthenticationConfiguration.Builder
avoiding the need to create one manually viaAuthenticationConfiguration.builder()
.When the
Consumer
completes,SdkBuilder.build()
is called immediately and its result is passed toauthenticationConfiguration(AuthenticationConfiguration)
.- Parameters:
authenticationConfiguration
- a consumer that will call methods onAuthenticationConfiguration.Builder
- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-