Interface CodeRepositorySummary.Builder
-
- All Superinterfaces:
Buildable
,CopyableBuilder<CodeRepositorySummary.Builder,CodeRepositorySummary>
,SdkBuilder<CodeRepositorySummary.Builder,CodeRepositorySummary>
,SdkPojo
- Enclosing class:
- CodeRepositorySummary
public static interface CodeRepositorySummary.Builder extends SdkPojo, CopyableBuilder<CodeRepositorySummary.Builder,CodeRepositorySummary>
-
-
Method Summary
All Methods Instance Methods Abstract Methods Default Methods Modifier and Type Method Description CodeRepositorySummary.Builder
codeRepositoryArn(String codeRepositoryArn)
The Amazon Resource Name (ARN) of the Git repository.CodeRepositorySummary.Builder
codeRepositoryName(String codeRepositoryName)
The name of the Git repository.CodeRepositorySummary.Builder
creationTime(Instant creationTime)
The date and time that the Git repository was created.default CodeRepositorySummary.Builder
gitConfig(Consumer<GitConfig.Builder> gitConfig)
Configuration details for the Git repository, including the URL where it is located and the ARN of the Amazon Web Services Secrets Manager secret that contains the credentials used to access the repository.CodeRepositorySummary.Builder
gitConfig(GitConfig gitConfig)
Configuration details for the Git repository, including the URL where it is located and the ARN of the Amazon Web Services Secrets Manager secret that contains the credentials used to access the repository.CodeRepositorySummary.Builder
lastModifiedTime(Instant lastModifiedTime)
The date and time that the Git repository was last modified.-
Methods inherited from interface software.amazon.awssdk.utils.builder.CopyableBuilder
copy
-
Methods inherited from interface software.amazon.awssdk.utils.builder.SdkBuilder
applyMutation, build
-
Methods inherited from interface software.amazon.awssdk.core.SdkPojo
equalsBySdkFields, sdkFields
-
-
-
-
Method Detail
-
codeRepositoryName
CodeRepositorySummary.Builder codeRepositoryName(String codeRepositoryName)
The name of the Git repository.
- Parameters:
codeRepositoryName
- The name of the Git repository.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
codeRepositoryArn
CodeRepositorySummary.Builder codeRepositoryArn(String codeRepositoryArn)
The Amazon Resource Name (ARN) of the Git repository.
- Parameters:
codeRepositoryArn
- The Amazon Resource Name (ARN) of the Git repository.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
creationTime
CodeRepositorySummary.Builder creationTime(Instant creationTime)
The date and time that the Git repository was created.
- Parameters:
creationTime
- The date and time that the Git repository was created.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
lastModifiedTime
CodeRepositorySummary.Builder lastModifiedTime(Instant lastModifiedTime)
The date and time that the Git repository was last modified.
- Parameters:
lastModifiedTime
- The date and time that the Git repository was last modified.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
gitConfig
CodeRepositorySummary.Builder gitConfig(GitConfig gitConfig)
Configuration details for the Git repository, including the URL where it is located and the ARN of the Amazon Web Services Secrets Manager secret that contains the credentials used to access the repository.
- Parameters:
gitConfig
- Configuration details for the Git repository, including the URL where it is located and the ARN of the Amazon Web Services Secrets Manager secret that contains the credentials used to access the repository.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
gitConfig
default CodeRepositorySummary.Builder gitConfig(Consumer<GitConfig.Builder> gitConfig)
Configuration details for the Git repository, including the URL where it is located and the ARN of the Amazon Web Services Secrets Manager secret that contains the credentials used to access the repository.
This is a convenience method that creates an instance of theGitConfig.Builder
avoiding the need to create one manually viaGitConfig.builder()
.When the
Consumer
completes,SdkBuilder.build()
is called immediately and its result is passed togitConfig(GitConfig)
.- Parameters:
gitConfig
- a consumer that will call methods onGitConfig.Builder
- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
gitConfig(GitConfig)
-
-