com.hashicorp.cdktf.SwiftBackend Maven / Gradle / Ivy
Show all versions of cdktf Show documentation
package com.hashicorp.cdktf;
/**
* @deprecated CDK for Terraform no longer supports the swift backend. Terraform deprecated swift in v1.2.3 and removed it in v1.3.
*/
@javax.annotation.Generated(value = "jsii-pacmak/1.102.0 (build e354887)", date = "2024-11-11T10:07:42.120Z")
@software.amazon.jsii.Stability(software.amazon.jsii.Stability.Level.Deprecated)
@Deprecated
@software.amazon.jsii.Jsii(module = com.hashicorp.cdktf.$Module.class, fqn = "cdktf.SwiftBackend")
public class SwiftBackend extends com.hashicorp.cdktf.TerraformBackend {
protected SwiftBackend(final software.amazon.jsii.JsiiObjectRef objRef) {
super(objRef);
}
protected SwiftBackend(final software.amazon.jsii.JsiiObject.InitializationMode initializationMode) {
super(initializationMode);
}
/**
* @param scope This parameter is required.
* @param props This parameter is required.
*/
@software.amazon.jsii.Stability(software.amazon.jsii.Stability.Level.Deprecated)
@Deprecated
public SwiftBackend(final @org.jetbrains.annotations.NotNull software.constructs.Construct scope, final @org.jetbrains.annotations.NotNull com.hashicorp.cdktf.SwiftBackendConfig props) {
super(software.amazon.jsii.JsiiObject.InitializationMode.JSII);
software.amazon.jsii.JsiiEngine.getInstance().createNewObject(this, new Object[] { java.util.Objects.requireNonNull(scope, "scope is required"), java.util.Objects.requireNonNull(props, "props is required") });
}
/**
* (deprecated) Creates a TerraformRemoteState resource that accesses this backend.
*
* @param scope This parameter is required.
* @param name This parameter is required.
* @param _fromStack This parameter is required.
*/
@software.amazon.jsii.Stability(software.amazon.jsii.Stability.Level.Deprecated)
@Deprecated
@Override
public @org.jetbrains.annotations.NotNull com.hashicorp.cdktf.TerraformRemoteState getRemoteStateDataSource(final @org.jetbrains.annotations.NotNull software.constructs.Construct scope, final @org.jetbrains.annotations.NotNull java.lang.String name, final @org.jetbrains.annotations.NotNull java.lang.String _fromStack) {
return software.amazon.jsii.Kernel.call(this, "getRemoteStateDataSource", software.amazon.jsii.NativeType.forClass(com.hashicorp.cdktf.TerraformRemoteState.class), new Object[] { java.util.Objects.requireNonNull(scope, "scope is required"), java.util.Objects.requireNonNull(name, "name is required"), java.util.Objects.requireNonNull(_fromStack, "_fromStack is required") });
}
/**
*/
@software.amazon.jsii.Stability(software.amazon.jsii.Stability.Level.Deprecated)
@Deprecated
@Override
protected @org.jetbrains.annotations.NotNull java.util.Map synthesizeAttributes() {
return java.util.Collections.unmodifiableMap(software.amazon.jsii.Kernel.call(this, "synthesizeAttributes", software.amazon.jsii.NativeType.mapOf(software.amazon.jsii.NativeType.forClass(java.lang.Object.class))));
}
/**
*/
@software.amazon.jsii.Stability(software.amazon.jsii.Stability.Level.Deprecated)
@Deprecated
@Override
protected @org.jetbrains.annotations.NotNull java.util.Map synthesizeHclAttributes() {
return java.util.Collections.unmodifiableMap(software.amazon.jsii.Kernel.call(this, "synthesizeHclAttributes", software.amazon.jsii.NativeType.mapOf(software.amazon.jsii.NativeType.forClass(java.lang.Object.class))));
}
/**
* (deprecated) A fluent builder for {@link com.hashicorp.cdktf.SwiftBackend}.
*/
@software.amazon.jsii.Stability(software.amazon.jsii.Stability.Level.Deprecated)
@Deprecated
public static final class Builder implements software.amazon.jsii.Builder {
/**
* @return a new instance of {@link Builder}.
* @param scope This parameter is required.
*/
@software.amazon.jsii.Stability(software.amazon.jsii.Stability.Level.Deprecated)
@Deprecated
public static Builder create(final software.constructs.Construct scope) {
return new Builder(scope);
}
private final software.constructs.Construct scope;
private final com.hashicorp.cdktf.SwiftBackendConfig.Builder props;
private Builder(final software.constructs.Construct scope) {
this.scope = scope;
this.props = new com.hashicorp.cdktf.SwiftBackendConfig.Builder();
}
/**
* @return {@code this}
* @param container This parameter is required.
*/
@software.amazon.jsii.Stability(software.amazon.jsii.Stability.Level.Deprecated)
@Deprecated
public Builder container(final java.lang.String container) {
this.props.container(container);
return this;
}
/**
* @return {@code this}
* @param applicationCredentialId This parameter is required.
*/
@software.amazon.jsii.Stability(software.amazon.jsii.Stability.Level.Deprecated)
@Deprecated
public Builder applicationCredentialId(final java.lang.String applicationCredentialId) {
this.props.applicationCredentialId(applicationCredentialId);
return this;
}
/**
* @return {@code this}
* @param applicationCredentialName This parameter is required.
*/
@software.amazon.jsii.Stability(software.amazon.jsii.Stability.Level.Deprecated)
@Deprecated
public Builder applicationCredentialName(final java.lang.String applicationCredentialName) {
this.props.applicationCredentialName(applicationCredentialName);
return this;
}
/**
* @return {@code this}
* @param applicationCredentialSecret This parameter is required.
*/
@software.amazon.jsii.Stability(software.amazon.jsii.Stability.Level.Deprecated)
@Deprecated
public Builder applicationCredentialSecret(final java.lang.String applicationCredentialSecret) {
this.props.applicationCredentialSecret(applicationCredentialSecret);
return this;
}
/**
* @return {@code this}
* @param archiveContainer This parameter is required.
*/
@software.amazon.jsii.Stability(software.amazon.jsii.Stability.Level.Deprecated)
@Deprecated
public Builder archiveContainer(final java.lang.String archiveContainer) {
this.props.archiveContainer(archiveContainer);
return this;
}
/**
* @return {@code this}
* @param authUrl This parameter is required.
*/
@software.amazon.jsii.Stability(software.amazon.jsii.Stability.Level.Deprecated)
@Deprecated
public Builder authUrl(final java.lang.String authUrl) {
this.props.authUrl(authUrl);
return this;
}
/**
* @return {@code this}
* @param cacertFile This parameter is required.
*/
@software.amazon.jsii.Stability(software.amazon.jsii.Stability.Level.Deprecated)
@Deprecated
public Builder cacertFile(final java.lang.String cacertFile) {
this.props.cacertFile(cacertFile);
return this;
}
/**
* @return {@code this}
* @param cert This parameter is required.
*/
@software.amazon.jsii.Stability(software.amazon.jsii.Stability.Level.Deprecated)
@Deprecated
public Builder cert(final java.lang.String cert) {
this.props.cert(cert);
return this;
}
/**
* @return {@code this}
* @param cloud This parameter is required.
*/
@software.amazon.jsii.Stability(software.amazon.jsii.Stability.Level.Deprecated)
@Deprecated
public Builder cloud(final java.lang.String cloud) {
this.props.cloud(cloud);
return this;
}
/**
* @return {@code this}
* @param defaultDomain This parameter is required.
*/
@software.amazon.jsii.Stability(software.amazon.jsii.Stability.Level.Deprecated)
@Deprecated
public Builder defaultDomain(final java.lang.String defaultDomain) {
this.props.defaultDomain(defaultDomain);
return this;
}
/**
* @return {@code this}
* @param domainId This parameter is required.
*/
@software.amazon.jsii.Stability(software.amazon.jsii.Stability.Level.Deprecated)
@Deprecated
public Builder domainId(final java.lang.String domainId) {
this.props.domainId(domainId);
return this;
}
/**
* @return {@code this}
* @param domainName This parameter is required.
*/
@software.amazon.jsii.Stability(software.amazon.jsii.Stability.Level.Deprecated)
@Deprecated
public Builder domainName(final java.lang.String domainName) {
this.props.domainName(domainName);
return this;
}
/**
* @return {@code this}
* @param expireAfter This parameter is required.
*/
@software.amazon.jsii.Stability(software.amazon.jsii.Stability.Level.Deprecated)
@Deprecated
public Builder expireAfter(final java.lang.String expireAfter) {
this.props.expireAfter(expireAfter);
return this;
}
/**
* @return {@code this}
* @param insecure This parameter is required.
*/
@software.amazon.jsii.Stability(software.amazon.jsii.Stability.Level.Deprecated)
@Deprecated
public Builder insecure(final java.lang.Boolean insecure) {
this.props.insecure(insecure);
return this;
}
/**
* @return {@code this}
* @param key This parameter is required.
*/
@software.amazon.jsii.Stability(software.amazon.jsii.Stability.Level.Deprecated)
@Deprecated
public Builder key(final java.lang.String key) {
this.props.key(key);
return this;
}
/**
* @return {@code this}
* @param password This parameter is required.
*/
@software.amazon.jsii.Stability(software.amazon.jsii.Stability.Level.Deprecated)
@Deprecated
public Builder password(final java.lang.String password) {
this.props.password(password);
return this;
}
/**
* @return {@code this}
* @param projectDomainId This parameter is required.
*/
@software.amazon.jsii.Stability(software.amazon.jsii.Stability.Level.Deprecated)
@Deprecated
public Builder projectDomainId(final java.lang.String projectDomainId) {
this.props.projectDomainId(projectDomainId);
return this;
}
/**
* @return {@code this}
* @param projectDomainName This parameter is required.
*/
@software.amazon.jsii.Stability(software.amazon.jsii.Stability.Level.Deprecated)
@Deprecated
public Builder projectDomainName(final java.lang.String projectDomainName) {
this.props.projectDomainName(projectDomainName);
return this;
}
/**
* @return {@code this}
* @param regionName This parameter is required.
*/
@software.amazon.jsii.Stability(software.amazon.jsii.Stability.Level.Deprecated)
@Deprecated
public Builder regionName(final java.lang.String regionName) {
this.props.regionName(regionName);
return this;
}
/**
* @return {@code this}
* @param stateName This parameter is required.
*/
@software.amazon.jsii.Stability(software.amazon.jsii.Stability.Level.Deprecated)
@Deprecated
public Builder stateName(final java.lang.String stateName) {
this.props.stateName(stateName);
return this;
}
/**
* @return {@code this}
* @param tenantId This parameter is required.
*/
@software.amazon.jsii.Stability(software.amazon.jsii.Stability.Level.Deprecated)
@Deprecated
public Builder tenantId(final java.lang.String tenantId) {
this.props.tenantId(tenantId);
return this;
}
/**
* @return {@code this}
* @param tenantName This parameter is required.
*/
@software.amazon.jsii.Stability(software.amazon.jsii.Stability.Level.Deprecated)
@Deprecated
public Builder tenantName(final java.lang.String tenantName) {
this.props.tenantName(tenantName);
return this;
}
/**
* @return {@code this}
* @param token This parameter is required.
*/
@software.amazon.jsii.Stability(software.amazon.jsii.Stability.Level.Deprecated)
@Deprecated
public Builder token(final java.lang.String token) {
this.props.token(token);
return this;
}
/**
* @return {@code this}
* @param userDomainId This parameter is required.
*/
@software.amazon.jsii.Stability(software.amazon.jsii.Stability.Level.Deprecated)
@Deprecated
public Builder userDomainId(final java.lang.String userDomainId) {
this.props.userDomainId(userDomainId);
return this;
}
/**
* @return {@code this}
* @param userDomainName This parameter is required.
*/
@software.amazon.jsii.Stability(software.amazon.jsii.Stability.Level.Deprecated)
@Deprecated
public Builder userDomainName(final java.lang.String userDomainName) {
this.props.userDomainName(userDomainName);
return this;
}
/**
* @return {@code this}
* @param userId This parameter is required.
*/
@software.amazon.jsii.Stability(software.amazon.jsii.Stability.Level.Deprecated)
@Deprecated
public Builder userId(final java.lang.String userId) {
this.props.userId(userId);
return this;
}
/**
* @return {@code this}
* @param userName This parameter is required.
*/
@software.amazon.jsii.Stability(software.amazon.jsii.Stability.Level.Deprecated)
@Deprecated
public Builder userName(final java.lang.String userName) {
this.props.userName(userName);
return this;
}
/**
* @return a newly built instance of {@link com.hashicorp.cdktf.SwiftBackend}.
*/
@software.amazon.jsii.Stability(software.amazon.jsii.Stability.Level.Deprecated)
@Deprecated
@Override
public com.hashicorp.cdktf.SwiftBackend build() {
return new com.hashicorp.cdktf.SwiftBackend(
this.scope,
this.props.build()
);
}
}
}