Package com.hashicorp.cdktf
Class DataTerraformRemoteStateOssConfig.Builder
java.lang.Object
com.hashicorp.cdktf.DataTerraformRemoteStateOssConfig.Builder
- All Implemented Interfaces:
software.amazon.jsii.Builder<DataTerraformRemoteStateOssConfig>
- Enclosing interface:
DataTerraformRemoteStateOssConfig
@Stability(Experimental)
public static final class DataTerraformRemoteStateOssConfig.Builder
extends Object
implements software.amazon.jsii.Builder<DataTerraformRemoteStateOssConfig>
A builder for
DataTerraformRemoteStateOssConfig
-
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.Sets the value ofDataTerraformRemoteStateConfig.getDefaults()
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()
Sets the value ofDataTerraformRemoteStateConfig.getWorkspace()
-
Constructor Details
-
Builder
public Builder()
-
-
Method Details
-
defaults
@Stability(Experimental) public DataTerraformRemoteStateOssConfig.Builder defaults(Map<String, ? extends Object> defaults) Sets the value ofDataTerraformRemoteStateConfig.getDefaults()
- Parameters:
defaults
- the value to be set.- Returns:
this
-
workspace
@Stability(Experimental) public DataTerraformRemoteStateOssConfig.Builder workspace(String workspace) Sets the value ofDataTerraformRemoteStateConfig.getWorkspace()
- Parameters:
workspace
- the value to be set.- Returns:
this
-
bucket
Sets the value ofOssBackendConfig.getBucket()
- Parameters:
bucket
- the value to be set. This parameter is required.- Returns:
this
-
accessKey
@Stability(Experimental) public DataTerraformRemoteStateOssConfig.Builder accessKey(String 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
@Stability(Experimental) public DataTerraformRemoteStateOssConfig.Builder assumeRole(OssAssumeRole assumeRole) Sets the value ofOssBackendConfig.getAssumeRole()
- Parameters:
assumeRole
- the value to be set.- Returns:
this
-
ecsRoleName
@Stability(Experimental) public DataTerraformRemoteStateOssConfig.Builder ecsRoleName(String 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
@Stability(Experimental) public DataTerraformRemoteStateOssConfig.Builder secretKey(String secretKey) Sets the value ofOssBackendConfig.getSecretKey()
- Parameters:
secretKey
- the value to be set.- Returns:
this
-
securityToken
@Stability(Experimental) public DataTerraformRemoteStateOssConfig.Builder securityToken(String securityToken) Sets the value ofOssBackendConfig.getSecurityToken()
- Parameters:
securityToken
- the value to be set.- Returns:
this
-
tablestoreEndpoint
@Stability(Experimental) public DataTerraformRemoteStateOssConfig.Builder tablestoreEndpoint(String tablestoreEndpoint) Sets the value ofOssBackendConfig.getTablestoreEndpoint()
- Parameters:
tablestoreEndpoint
- the value to be set.- Returns:
this
-
tablestoreTable
@Stability(Experimental) public DataTerraformRemoteStateOssConfig.Builder tablestoreTable(String 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<DataTerraformRemoteStateOssConfig>
- Returns:
- a new instance of
DataTerraformRemoteStateOssConfig
- Throws:
NullPointerException
- if any required attribute was not provided
-