Package com.hashicorp.cdktf
Class RemoteBackendConfig.Builder
java.lang.Object
com.hashicorp.cdktf.RemoteBackendConfig.Builder
- All Implemented Interfaces:
software.amazon.jsii.Builder<RemoteBackendConfig>
- Enclosing interface:
RemoteBackendConfig
@Stability(Experimental)
public static final class RemoteBackendConfig.Builder
extends Object
implements software.amazon.jsii.Builder<RemoteBackendConfig>
A builder for
RemoteBackendConfig-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionbuild()Builds the configured instance.Sets the value ofRemoteBackendConfig.getHostname()organization(String organization) Sets the value ofRemoteBackendConfig.getOrganization()Sets the value ofRemoteBackendConfig.getToken()workspaces(IRemoteWorkspace workspaces) Sets the value ofRemoteBackendConfig.getWorkspaces()
-
Constructor Details
-
Builder
public Builder()
-
-
Method Details
-
organization
Sets the value ofRemoteBackendConfig.getOrganization()- Parameters:
organization- the value to be set. This parameter is required.- Returns:
this
-
workspaces
Sets the value ofRemoteBackendConfig.getWorkspaces()- Parameters:
workspaces- the value to be set. This parameter is required.- Returns:
this
-
hostname
Sets the value ofRemoteBackendConfig.getHostname()- Parameters:
hostname- the value to be set.- Returns:
this
-
token
Sets the value ofRemoteBackendConfig.getToken()- Parameters:
token- the value to be set.- Returns:
this
-
build
Builds the configured instance.- Specified by:
buildin interfacesoftware.amazon.jsii.Builder<RemoteBackendConfig>- Returns:
- a new instance of
RemoteBackendConfig - Throws:
NullPointerException- if any required attribute was not provided
-