Interface AppSourceConfig.Builder
- All Superinterfaces:
Buildable,CopyableBuilder<AppSourceConfig.Builder,,AppSourceConfig> SdkBuilder<AppSourceConfig.Builder,,AppSourceConfig> SdkPojo
- Enclosing class:
AppSourceConfig
@Mutable
@NotThreadSafe
public static interface AppSourceConfig.Builder
extends SdkPojo, CopyableBuilder<AppSourceConfig.Builder,AppSourceConfig>
-
Method Summary
Modifier and TypeMethodDescriptiondefault AppSourceConfig.BuildergitHubSource(Consumer<AppGitHubSource.Builder> gitHubSource) The GitHub source repository settings.gitHubSource(AppGitHubSource gitHubSource) The GitHub source repository settings.default AppSourceConfig.BuildergitLabSource(Consumer<AppGitLabSource.Builder> gitLabSource) The GitLab source repository settings.gitLabSource(AppGitLabSource gitLabSource) The GitLab source repository settings.Methods inherited from interface software.amazon.awssdk.utils.builder.CopyableBuilder
copyMethods inherited from interface software.amazon.awssdk.utils.builder.SdkBuilder
applyMutation, buildMethods inherited from interface software.amazon.awssdk.core.SdkPojo
equalsBySdkFields, sdkFieldNameToField, sdkFields
-
Method Details
-
gitHubSource
The GitHub source repository settings.
- Parameters:
gitHubSource- The GitHub source repository settings.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
gitHubSource
The GitHub source repository settings.
This is a convenience method that creates an instance of theAppGitHubSource.Builderavoiding the need to create one manually viaAppGitHubSource.builder().When the
Consumercompletes,SdkBuilder.build()is called immediately and its result is passed togitHubSource(AppGitHubSource).- Parameters:
gitHubSource- a consumer that will call methods onAppGitHubSource.Builder- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-
gitLabSource
The GitLab source repository settings.
- Parameters:
gitLabSource- The GitLab source repository settings.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
gitLabSource
The GitLab source repository settings.
This is a convenience method that creates an instance of theAppGitLabSource.Builderavoiding the need to create one manually viaAppGitLabSource.builder().When the
Consumercompletes,SdkBuilder.build()is called immediately and its result is passed togitLabSource(AppGitLabSource).- Parameters:
gitLabSource- a consumer that will call methods onAppGitLabSource.Builder- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-