Package com.hashicorp.cdktf
Class OssBackendConfig.Builder
java.lang.Object
com.hashicorp.cdktf.OssBackendConfig.Builder
- All Implemented Interfaces:
software.amazon.jsii.Builder<OssBackendConfig>
- Enclosing interface:
OssBackendConfig
@Stability(Experimental)
public static final class OssBackendConfig.Builder
extends Object
implements software.amazon.jsii.Builder<OssBackendConfig>
A builder for
OssBackendConfig
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionSets the value ofOssBackendConfig.getAccessKey()
Sets the value ofOssBackendConfig.getAcl()
assumeRole
(OssAssumeRole assumeRole) Sets the value ofOssBackendConfig.getAssumeRole()
Sets the value ofOssBackendConfig.getBucket()
build()
Builds the configured instance.ecsRoleName
(String ecsRoleName) Sets the value ofOssBackendConfig.getEcsRoleName()
Sets the value ofOssBackendConfig.getEncrypt()
Sets the value ofOssBackendConfig.getEndpoint()
Sets the value ofOssBackendConfig.getKey()
Sets the value ofOssBackendConfig.getPrefix()
Sets the value ofOssBackendConfig.getProfile()
Sets the value ofOssBackendConfig.getRegion()
Sets the value ofOssBackendConfig.getSecretKey()
securityToken
(String securityToken) Sets the value ofOssBackendConfig.getSecurityToken()
sharedCredentialsFile
(String sharedCredentialsFile) Sets the value ofOssBackendConfig.getSharedCredentialsFile()
tablestoreEndpoint
(String tablestoreEndpoint) Sets the value ofOssBackendConfig.getTablestoreEndpoint()
tablestoreTable
(String tablestoreTable) Sets the value ofOssBackendConfig.getTablestoreTable()
-
Constructor Details
-
Builder
public Builder()
-
-
Method Details
-
bucket
Sets the value ofOssBackendConfig.getBucket()
- Parameters:
bucket
- the value to be set. This parameter is required.- Returns:
this
-
accessKey
Sets the value ofOssBackendConfig.getAccessKey()
- Parameters:
accessKey
- the value to be set.- Returns:
this
-
acl
Sets the value ofOssBackendConfig.getAcl()
- Parameters:
acl
- the value to be set.- Returns:
this
-
assumeRole
Sets the value ofOssBackendConfig.getAssumeRole()
- Parameters:
assumeRole
- the value to be set.- Returns:
this
-
ecsRoleName
Sets the value ofOssBackendConfig.getEcsRoleName()
- Parameters:
ecsRoleName
- the value to be set.- Returns:
this
-
encrypt
Sets the value ofOssBackendConfig.getEncrypt()
- Parameters:
encrypt
- the value to be set.- Returns:
this
-
endpoint
Sets the value ofOssBackendConfig.getEndpoint()
- Parameters:
endpoint
- the value to be set.- Returns:
this
-
key
Sets the value ofOssBackendConfig.getKey()
- Parameters:
key
- the value to be set.- Returns:
this
-
prefix
Sets the value ofOssBackendConfig.getPrefix()
- Parameters:
prefix
- the value to be set.- Returns:
this
-
profile
Sets the value ofOssBackendConfig.getProfile()
- Parameters:
profile
- the value to be set.- Returns:
this
-
region
Sets the value ofOssBackendConfig.getRegion()
- Parameters:
region
- the value to be set.- Returns:
this
-
secretKey
Sets the value ofOssBackendConfig.getSecretKey()
- Parameters:
secretKey
- the value to be set.- Returns:
this
-
securityToken
Sets the value ofOssBackendConfig.getSecurityToken()
- Parameters:
securityToken
- the value to be set.- Returns:
this
-
tablestoreEndpoint
@Stability(Experimental) public OssBackendConfig.Builder tablestoreEndpoint(String tablestoreEndpoint) Sets the value ofOssBackendConfig.getTablestoreEndpoint()
- Parameters:
tablestoreEndpoint
- the value to be set.- Returns:
this
-
tablestoreTable
Sets the value ofOssBackendConfig.getTablestoreTable()
- Parameters:
tablestoreTable
- the value to be set.- Returns:
this
-
build
Builds the configured instance.- Specified by:
build
in interfacesoftware.amazon.jsii.Builder<OssBackendConfig>
- Returns:
- a new instance of
OssBackendConfig
- Throws:
NullPointerException
- if any required attribute was not provided
-