Interface DescribeCodeRepositoryResponse.Builder
-
- All Superinterfaces:
AwsResponse.Builder
,Buildable
,CopyableBuilder<DescribeCodeRepositoryResponse.Builder,DescribeCodeRepositoryResponse>
,SageMakerResponse.Builder
,SdkBuilder<DescribeCodeRepositoryResponse.Builder,DescribeCodeRepositoryResponse>
,SdkPojo
,SdkResponse.Builder
- Enclosing class:
- DescribeCodeRepositoryResponse
public static interface DescribeCodeRepositoryResponse.Builder extends SageMakerResponse.Builder, SdkPojo, CopyableBuilder<DescribeCodeRepositoryResponse.Builder,DescribeCodeRepositoryResponse>
-
-
Method Summary
All Methods Instance Methods Abstract Methods Default Methods Modifier and Type Method Description DescribeCodeRepositoryResponse.Builder
codeRepositoryArn(String codeRepositoryArn)
The Amazon Resource Name (ARN) of the Git repository.DescribeCodeRepositoryResponse.Builder
codeRepositoryName(String codeRepositoryName)
The name of the Git repository.DescribeCodeRepositoryResponse.Builder
creationTime(Instant creationTime)
The date and time that the repository was created.default DescribeCodeRepositoryResponse.Builder
gitConfig(Consumer<GitConfig.Builder> gitConfig)
Configuration details about the repository, including the URL where the repository is located, the default branch, and the Amazon Resource Name (ARN) of the Amazon Web Services Secrets Manager secret that contains the credentials used to access the repository.DescribeCodeRepositoryResponse.Builder
gitConfig(GitConfig gitConfig)
Configuration details about the repository, including the URL where the repository is located, the default branch, and the Amazon Resource Name (ARN) of the Amazon Web Services Secrets Manager secret that contains the credentials used to access the repository.DescribeCodeRepositoryResponse.Builder
lastModifiedTime(Instant lastModifiedTime)
The date and time that the repository was last changed.-
Methods inherited from interface software.amazon.awssdk.utils.builder.CopyableBuilder
copy
-
Methods inherited from interface software.amazon.awssdk.services.sagemaker.model.SageMakerResponse.Builder
build, responseMetadata, responseMetadata
-
Methods inherited from interface software.amazon.awssdk.utils.builder.SdkBuilder
applyMutation, build
-
Methods inherited from interface software.amazon.awssdk.core.SdkPojo
equalsBySdkFields, sdkFieldNameToField, sdkFields
-
Methods inherited from interface software.amazon.awssdk.core.SdkResponse.Builder
sdkHttpResponse, sdkHttpResponse
-
-
-
-
Method Detail
-
codeRepositoryName
DescribeCodeRepositoryResponse.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
DescribeCodeRepositoryResponse.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
DescribeCodeRepositoryResponse.Builder creationTime(Instant creationTime)
The date and time that the repository was created.
- Parameters:
creationTime
- The date and time that the repository was created.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
lastModifiedTime
DescribeCodeRepositoryResponse.Builder lastModifiedTime(Instant lastModifiedTime)
The date and time that the repository was last changed.
- Parameters:
lastModifiedTime
- The date and time that the repository was last changed.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
gitConfig
DescribeCodeRepositoryResponse.Builder gitConfig(GitConfig gitConfig)
Configuration details about the repository, including the URL where the repository is located, the default branch, and the Amazon Resource Name (ARN) of the Amazon Web Services Secrets Manager secret that contains the credentials used to access the repository.
- Parameters:
gitConfig
- Configuration details about the repository, including the URL where the repository is located, the default branch, and the Amazon Resource Name (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 DescribeCodeRepositoryResponse.Builder gitConfig(Consumer<GitConfig.Builder> gitConfig)
Configuration details about the repository, including the URL where the repository is located, the default branch, and the Amazon Resource Name (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)
-
-