@Stability(value=Stable)
public static interface CfnRepository.CodeProperty
extends software.amazon.jsii.JsiiSerializable
// The code below shows an example of how to instantiate this type.
// The values are placeholders you should change.
import software.amazon.awscdk.services.codecommit.*;
CodeProperty codeProperty = CodeProperty.builder()
.s3(S3Property.builder()
.bucket("bucket")
.key("key")
// the properties below are optional
.objectVersion("objectVersion")
.build())
// the properties below are optional
.branchName("branchName")
.build();
| Modifier and Type | Interface and Description |
|---|---|
static class |
CfnRepository.CodeProperty.Builder
A builder for
CfnRepository.CodeProperty |
static class |
CfnRepository.CodeProperty.Jsii$Proxy
An implementation for
CfnRepository.CodeProperty |
| Modifier and Type | Method and Description |
|---|---|
static CfnRepository.CodeProperty.Builder |
builder() |
default String |
getBranchName()
`CfnRepository.CodeProperty.BranchName`.
|
Object |
getS3()
`CfnRepository.CodeProperty.S3`.
|
@Stability(value=Stable) @Nullable default String getBranchName()
@Stability(value=Stable) @NotNull Object getS3()
@Stability(value=Stable) static CfnRepository.CodeProperty.Builder builder()
CfnRepository.CodeProperty.Builder of CfnRepository.CodePropertyCopyright © 2021. All rights reserved.