Interface HarnessSkillGitSource.Builder
- All Superinterfaces:
Buildable,CopyableBuilder<HarnessSkillGitSource.Builder,,HarnessSkillGitSource> SdkBuilder<HarnessSkillGitSource.Builder,,HarnessSkillGitSource> SdkPojo
- Enclosing class:
HarnessSkillGitSource
@Mutable
@NotThreadSafe
public static interface HarnessSkillGitSource.Builder
extends SdkPojo, CopyableBuilder<HarnessSkillGitSource.Builder,HarnessSkillGitSource>
-
Method Summary
Modifier and TypeMethodDescriptiondefault HarnessSkillGitSource.BuilderAuthentication configuration for private repositories.auth(HarnessSkillGitAuth auth) Authentication configuration for private repositories.Subdirectory within the repository containing the skill.The HTTPS URL of the git 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
-
url
The HTTPS URL of the git repository.
- Parameters:
url- The HTTPS URL of the git repository.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
path
Subdirectory within the repository containing the skill.
- Parameters:
path- Subdirectory within the repository containing the skill.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
auth
Authentication configuration for private repositories.
- Parameters:
auth- Authentication configuration for private repositories.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
auth
Authentication configuration for private repositories.
This is a convenience method that creates an instance of theHarnessSkillGitAuth.Builderavoiding the need to create one manually viaHarnessSkillGitAuth.builder().When the
Consumercompletes,SdkBuilder.build()is called immediately and its result is passed toauth(HarnessSkillGitAuth).- Parameters:
auth- a consumer that will call methods onHarnessSkillGitAuth.Builder- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-