@Stability(value=Experimental) public static final class CosBackendProps.Builder extends Object implements software.amazon.jsii.Builder<CosBackendProps>
CosBackendProps
Constructor and Description |
---|
Builder() |
Modifier and Type | Method and Description |
---|---|
CosBackendProps.Builder |
acl(String acl)
Sets the value of
CosBackendProps.getAcl() |
CosBackendProps.Builder |
bucket(String bucket)
Sets the value of
CosBackendProps.getBucket() |
CosBackendProps |
build()
Builds the configured instance.
|
CosBackendProps.Builder |
encrypt(Boolean encrypt)
Sets the value of
CosBackendProps.getEncrypt() |
CosBackendProps.Builder |
key(String key)
Sets the value of
CosBackendProps.getKey() |
CosBackendProps.Builder |
prefix(String prefix)
Sets the value of
CosBackendProps.getPrefix() |
CosBackendProps.Builder |
region(String region)
Sets the value of
CosBackendProps.getRegion() |
CosBackendProps.Builder |
secretId(String secretId)
Sets the value of
CosBackendProps.getSecretId() |
CosBackendProps.Builder |
secretKey(String secretKey)
Sets the value of
CosBackendProps.getSecretKey() |
@Stability(value=Experimental) public CosBackendProps.Builder bucket(String bucket)
CosBackendProps.getBucket()
bucket
- the value to be set. This parameter is required.this
@Stability(value=Experimental) public CosBackendProps.Builder acl(String acl)
CosBackendProps.getAcl()
acl
- the value to be set.this
@Stability(value=Experimental) public CosBackendProps.Builder encrypt(Boolean encrypt)
CosBackendProps.getEncrypt()
encrypt
- the value to be set.this
@Stability(value=Experimental) public CosBackendProps.Builder key(String key)
CosBackendProps.getKey()
key
- the value to be set.this
@Stability(value=Experimental) public CosBackendProps.Builder prefix(String prefix)
CosBackendProps.getPrefix()
prefix
- the value to be set.this
@Stability(value=Experimental) public CosBackendProps.Builder region(String region)
CosBackendProps.getRegion()
region
- the value to be set.this
@Stability(value=Experimental) public CosBackendProps.Builder secretId(String secretId)
CosBackendProps.getSecretId()
secretId
- the value to be set.this
@Stability(value=Experimental) public CosBackendProps.Builder secretKey(String secretKey)
CosBackendProps.getSecretKey()
secretKey
- the value to be set.this
@Stability(value=Experimental) public CosBackendProps build()
build
in interface software.amazon.jsii.Builder<CosBackendProps>
CosBackendProps
NullPointerException
- if any required attribute was not providedCopyright © 2022. All rights reserved.