Interface AppSourceConfigRequest.Builder
- All Superinterfaces:
Buildable,CopyableBuilder<AppSourceConfigRequest.Builder,,AppSourceConfigRequest> SdkBuilder<AppSourceConfigRequest.Builder,,AppSourceConfigRequest> SdkPojo
- Enclosing class:
AppSourceConfigRequest
@Mutable
@NotThreadSafe
public static interface AppSourceConfigRequest.Builder
extends SdkPojo, CopyableBuilder<AppSourceConfigRequest.Builder,AppSourceConfigRequest>
-
Method Summary
Modifier and TypeMethodDescriptiondefault AppSourceConfigRequest.BuildergitHubSource(Consumer<AppGitHubSourceRequest.Builder> gitHubSource) The GitHub source repository settings.gitHubSource(AppGitHubSourceRequest gitHubSource) The GitHub source repository settings.default AppSourceConfigRequest.BuildergitLabSource(Consumer<AppGitLabSourceRequest.Builder> gitLabSource) The GitLab source repository settings.gitLabSource(AppGitLabSourceRequest 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
default AppSourceConfigRequest.Builder gitHubSource(Consumer<AppGitHubSourceRequest.Builder> gitHubSource) The GitHub source repository settings.
This is a convenience method that creates an instance of theAppGitHubSourceRequest.Builderavoiding the need to create one manually viaAppGitHubSourceRequest.builder().When the
Consumercompletes,SdkBuilder.build()is called immediately and its result is passed togitHubSource(AppGitHubSourceRequest).- Parameters:
gitHubSource- a consumer that will call methods onAppGitHubSourceRequest.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
default AppSourceConfigRequest.Builder gitLabSource(Consumer<AppGitLabSourceRequest.Builder> gitLabSource) The GitLab source repository settings.
This is a convenience method that creates an instance of theAppGitLabSourceRequest.Builderavoiding the need to create one manually viaAppGitLabSourceRequest.builder().When the
Consumercompletes,SdkBuilder.build()is called immediately and its result is passed togitLabSource(AppGitLabSourceRequest).- Parameters:
gitLabSource- a consumer that will call methods onAppGitLabSourceRequest.Builder- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-