Interface AppUpdateSourceConfigRequest.Builder
- All Superinterfaces:
Buildable,CopyableBuilder<AppUpdateSourceConfigRequest.Builder,,AppUpdateSourceConfigRequest> SdkBuilder<AppUpdateSourceConfigRequest.Builder,,AppUpdateSourceConfigRequest> SdkPojo
- Enclosing class:
AppUpdateSourceConfigRequest
@Mutable
@NotThreadSafe
public static interface AppUpdateSourceConfigRequest.Builder
extends SdkPojo, CopyableBuilder<AppUpdateSourceConfigRequest.Builder,AppUpdateSourceConfigRequest>
-
Method Summary
Modifier and TypeMethodDescriptiongitHubSource(Consumer<AppUpdateGitHubSourceRequest.Builder> gitHubSource) The GitHub source repository settings.gitHubSource(AppUpdateGitHubSourceRequest gitHubSource) The GitHub source repository settings.gitLabSource(Consumer<AppUpdateGitLabSourceRequest.Builder> gitLabSource) The GitLab source repository settings.gitLabSource(AppUpdateGitLabSourceRequest gitLabSource) The GitLab source repository settings.noSource(Consumer<NoSource.Builder> noSource) Removes the configured source repository.Removes the configured source repository.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 AppUpdateSourceConfigRequest.Builder gitHubSource(Consumer<AppUpdateGitHubSourceRequest.Builder> gitHubSource) The GitHub source repository settings.
This is a convenience method that creates an instance of theAppUpdateGitHubSourceRequest.Builderavoiding the need to create one manually viaAppUpdateGitHubSourceRequest.builder().When the
Consumercompletes,SdkBuilder.build()is called immediately and its result is passed togitHubSource(AppUpdateGitHubSourceRequest).- Parameters:
gitHubSource- a consumer that will call methods onAppUpdateGitHubSourceRequest.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 AppUpdateSourceConfigRequest.Builder gitLabSource(Consumer<AppUpdateGitLabSourceRequest.Builder> gitLabSource) The GitLab source repository settings.
This is a convenience method that creates an instance of theAppUpdateGitLabSourceRequest.Builderavoiding the need to create one manually viaAppUpdateGitLabSourceRequest.builder().When the
Consumercompletes,SdkBuilder.build()is called immediately and its result is passed togitLabSource(AppUpdateGitLabSourceRequest).- Parameters:
gitLabSource- a consumer that will call methods onAppUpdateGitLabSourceRequest.Builder- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-
noSource
Removes the configured source repository.
- Parameters:
noSource- Removes the configured source repository.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
noSource
Removes the configured source repository.
This is a convenience method that creates an instance of theNoSource.Builderavoiding the need to create one manually viaNoSource.builder().When the
Consumercompletes,SdkBuilder.build()is called immediately and its result is passed tonoSource(NoSource).- Parameters:
noSource- a consumer that will call methods onNoSource.Builder- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-