com.hashicorp.cdktf.HttpBackend Maven / Gradle / Ivy
Go to download
Show more of this group Show more artifacts with this name
Show all versions of cdktf Show documentation
Show all versions of cdktf Show documentation
Cloud Development Kit for Terraform
package com.hashicorp.cdktf;
/**
*/
@javax.annotation.Generated(value = "jsii-pacmak/1.46.0 (build cd08c55)", date = "2021-12-02T10:15:44.139Z")
@software.amazon.jsii.Stability(software.amazon.jsii.Stability.Level.Experimental)
@software.amazon.jsii.Jsii(module = com.hashicorp.cdktf.$Module.class, fqn = "cdktf.HttpBackend")
public class HttpBackend extends com.hashicorp.cdktf.TerraformBackend {
protected HttpBackend(final software.amazon.jsii.JsiiObjectRef objRef) {
super(objRef);
}
protected HttpBackend(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.Experimental)
public HttpBackend(final @org.jetbrains.annotations.NotNull software.constructs.Construct scope, final @org.jetbrains.annotations.NotNull com.hashicorp.cdktf.HttpBackendProps 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") });
}
/**
*/
@software.amazon.jsii.Stability(software.amazon.jsii.Stability.Level.Experimental)
@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))));
}
/**
* (experimental) A fluent builder for {@link com.hashicorp.cdktf.HttpBackend}.
*/
@software.amazon.jsii.Stability(software.amazon.jsii.Stability.Level.Experimental)
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.Experimental)
public static Builder create(final software.constructs.Construct scope) {
return new Builder(scope);
}
private final software.constructs.Construct scope;
private final com.hashicorp.cdktf.HttpBackendProps.Builder props;
private Builder(final software.constructs.Construct scope) {
this.scope = scope;
this.props = new com.hashicorp.cdktf.HttpBackendProps.Builder();
}
/**
* @return {@code this}
* @param address This parameter is required.
*/
@software.amazon.jsii.Stability(software.amazon.jsii.Stability.Level.Experimental)
public Builder address(final java.lang.String address) {
this.props.address(address);
return this;
}
/**
* @return {@code this}
* @param lockAddress This parameter is required.
*/
@software.amazon.jsii.Stability(software.amazon.jsii.Stability.Level.Experimental)
public Builder lockAddress(final java.lang.String lockAddress) {
this.props.lockAddress(lockAddress);
return this;
}
/**
* @return {@code this}
* @param lockMethod This parameter is required.
*/
@software.amazon.jsii.Stability(software.amazon.jsii.Stability.Level.Experimental)
public Builder lockMethod(final java.lang.String lockMethod) {
this.props.lockMethod(lockMethod);
return this;
}
/**
* @return {@code this}
* @param password This parameter is required.
*/
@software.amazon.jsii.Stability(software.amazon.jsii.Stability.Level.Experimental)
public Builder password(final java.lang.String password) {
this.props.password(password);
return this;
}
/**
* @return {@code this}
* @param retryMax This parameter is required.
*/
@software.amazon.jsii.Stability(software.amazon.jsii.Stability.Level.Experimental)
public Builder retryMax(final java.lang.Number retryMax) {
this.props.retryMax(retryMax);
return this;
}
/**
* @return {@code this}
* @param retryWaitMax This parameter is required.
*/
@software.amazon.jsii.Stability(software.amazon.jsii.Stability.Level.Experimental)
public Builder retryWaitMax(final java.lang.Number retryWaitMax) {
this.props.retryWaitMax(retryWaitMax);
return this;
}
/**
* @return {@code this}
* @param retryWaitMin This parameter is required.
*/
@software.amazon.jsii.Stability(software.amazon.jsii.Stability.Level.Experimental)
public Builder retryWaitMin(final java.lang.Number retryWaitMin) {
this.props.retryWaitMin(retryWaitMin);
return this;
}
/**
* @return {@code this}
* @param skipCertVerification This parameter is required.
*/
@software.amazon.jsii.Stability(software.amazon.jsii.Stability.Level.Experimental)
public Builder skipCertVerification(final java.lang.Boolean skipCertVerification) {
this.props.skipCertVerification(skipCertVerification);
return this;
}
/**
* @return {@code this}
* @param unlockAddress This parameter is required.
*/
@software.amazon.jsii.Stability(software.amazon.jsii.Stability.Level.Experimental)
public Builder unlockAddress(final java.lang.String unlockAddress) {
this.props.unlockAddress(unlockAddress);
return this;
}
/**
* @return {@code this}
* @param unlockMethod This parameter is required.
*/
@software.amazon.jsii.Stability(software.amazon.jsii.Stability.Level.Experimental)
public Builder unlockMethod(final java.lang.String unlockMethod) {
this.props.unlockMethod(unlockMethod);
return this;
}
/**
* @return {@code this}
* @param updateMethod This parameter is required.
*/
@software.amazon.jsii.Stability(software.amazon.jsii.Stability.Level.Experimental)
public Builder updateMethod(final java.lang.String updateMethod) {
this.props.updateMethod(updateMethod);
return this;
}
/**
* @return {@code this}
* @param username This parameter is required.
*/
@software.amazon.jsii.Stability(software.amazon.jsii.Stability.Level.Experimental)
public Builder username(final java.lang.String username) {
this.props.username(username);
return this;
}
/**
* @returns a newly built instance of {@link com.hashicorp.cdktf.HttpBackend}.
*/
@software.amazon.jsii.Stability(software.amazon.jsii.Stability.Level.Experimental)
@Override
public com.hashicorp.cdktf.HttpBackend build() {
return new com.hashicorp.cdktf.HttpBackend(
this.scope,
this.props.build()
);
}
}
}
© 2015 - 2025 Weber Informatics LLC | Privacy Policy