@Stability(value=Experimental) public static final class AzurermBackendProps.Builder extends Object implements software.amazon.jsii.Builder<AzurermBackendProps>
AzurermBackendProps
Constructor and Description |
---|
Builder() |
@Stability(value=Experimental) public AzurermBackendProps.Builder containerName(String containerName)
AzurermBackendProps.getContainerName()
containerName
- (Required) The Name of the Storage Container within the Storage Account. This parameter is required.this
@Stability(value=Experimental) public AzurermBackendProps.Builder key(String key)
AzurermBackendProps.getKey()
key
- (Required) The name of the Blob used to retrieve/store Terraform's State file inside the Storage Container. This parameter is required.this
@Stability(value=Experimental) public AzurermBackendProps.Builder storageAccountName(String storageAccountName)
AzurermBackendProps.getStorageAccountName()
storageAccountName
- (Required) The Name of the Storage Account. This parameter is required.this
@Stability(value=Experimental) public AzurermBackendProps.Builder accessKey(String accessKey)
AzurermBackendProps.getAccessKey()
accessKey
- access_key - (Optional) The Access Key used to access the Blob Storage Account.
This can also be sourced from the ARM_ACCESS_KEY environment variable.this
@Stability(value=Experimental) public AzurermBackendProps.Builder clientId(String clientId)
AzurermBackendProps.getClientId()
clientId
- (Optional) The Client ID of the Service Principal.
This can also be sourced from the ARM_CLIENT_ID environment variable.this
@Stability(value=Experimental) public AzurermBackendProps.Builder clientSecret(String clientSecret)
AzurermBackendProps.getClientSecret()
clientSecret
- (Optional) The Client Secret of the Service Principal.
This can also be sourced from the ARM_CLIENT_SECRET environment variable.this
@Stability(value=Experimental) public AzurermBackendProps.Builder endpoint(String endpoint)
AzurermBackendProps.getEndpoint()
endpoint
- (Optional) The Custom Endpoint for Azure Resource Manager. This can also be sourced from the ARM_ENDPOINT environment variable.
NOTE: An endpoint should only be configured when using Azure Stack.this
@Stability(value=Experimental) public AzurermBackendProps.Builder environment(String environment)
AzurermBackendProps.getEnvironment()
environment
- (Optional) The Azure Environment which should be used.
This can also be sourced from the ARM_ENVIRONMENT environment variable.
Possible values are public, china, german, stack and usgovernment. Defaults to public.this
@Stability(value=Experimental) public AzurermBackendProps.Builder msiEndpoint(String msiEndpoint)
AzurermBackendProps.getMsiEndpoint()
msiEndpoint
- (Optional) The path to a custom Managed Service Identity endpoint which is automatically determined if not specified.
This can also be sourced from the ARM_MSI_ENDPOINT environment variable.this
@Stability(value=Experimental) public AzurermBackendProps.Builder resourceGroupName(String resourceGroupName)
AzurermBackendProps.getResourceGroupName()
resourceGroupName
- (Required) The Name of the Resource Group in which the Storage Account exists.this
@Stability(value=Experimental) public AzurermBackendProps.Builder sasToken(String sasToken)
AzurermBackendProps.getSasToken()
sasToken
- (Optional) The SAS Token used to access the Blob Storage Account.
This can also be sourced from the ARM_SAS_TOKEN environment variable.this
@Stability(value=Experimental) public AzurermBackendProps.Builder subscriptionId(String subscriptionId)
AzurermBackendProps.getSubscriptionId()
subscriptionId
- (Optional) The Subscription ID in which the Storage Account exists.
This can also be sourced from the ARM_SUBSCRIPTION_ID environment variable.this
@Stability(value=Experimental) public AzurermBackendProps.Builder tenantId(String tenantId)
AzurermBackendProps.getTenantId()
tenantId
- (Optional) The Tenant ID in which the Subscription exists.
This can also be sourced from the ARM_TENANT_ID environment variable.this
@Stability(value=Experimental) public AzurermBackendProps.Builder useMsi(Boolean useMsi)
AzurermBackendProps.getUseMsi()
useMsi
- (Optional) Should Managed Service Identity authentication be used?.
This can also be sourced from the ARM_USE_MSI environment variable.this
@Stability(value=Experimental) public AzurermBackendProps build()
build
in interface software.amazon.jsii.Builder<AzurermBackendProps>
AzurermBackendProps
NullPointerException
- if any required attribute was not providedCopyright © 2022. All rights reserved.