Interface EnvironmentRepositorySource.Builder
- All Superinterfaces:
Buildable,CopyableBuilder<EnvironmentRepositorySource.Builder,,EnvironmentRepositorySource> SdkBuilder<EnvironmentRepositorySource.Builder,,EnvironmentRepositorySource> SdkPojo
- Enclosing class:
EnvironmentRepositorySource
@Mutable
@NotThreadSafe
public static interface EnvironmentRepositorySource.Builder
extends SdkPojo, CopyableBuilder<EnvironmentRepositorySource.Builder,EnvironmentRepositorySource>
-
Method Summary
Modifier and TypeMethodDescriptiondefaultBranch(String defaultBranch) Branch used when a scan does not choose a more specific revision.integrationId(String integrationId) Integration that provides the selected repository.repository(String repository) Repository selected from that integration in owner/repository form.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
-
integrationId
Integration that provides the selected repository.
- Parameters:
integrationId- Integration that provides the selected repository.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
repository
Repository selected from that integration in owner/repository form.
- Parameters:
repository- Repository selected from that integration in owner/repository form.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
defaultBranch
Branch used when a scan does not choose a more specific revision.
- Parameters:
defaultBranch- Branch used when a scan does not choose a more specific revision.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-