com.pulumi.azurenative.web.outputs.HostNameSslStateResponse Maven / Gradle / Ivy
Go to download
Show more of this group Show more artifacts with this name
Show all versions of azure-native Show documentation
Show all versions of azure-native Show documentation
A native Pulumi package for creating and managing Azure resources.
// *** WARNING: this file was generated by pulumi-java-gen. ***
// *** Do not edit by hand unless you're certain you know what you are doing! ***
package com.pulumi.azurenative.web.outputs;
import com.pulumi.core.annotations.CustomType;
import java.lang.Boolean;
import java.lang.String;
import java.util.Objects;
import java.util.Optional;
import javax.annotation.Nullable;
@CustomType
public final class HostNameSslStateResponse {
/**
* @return Indicates whether the hostname is a standard or repository hostname.
*
*/
private @Nullable String hostType;
/**
* @return Hostname.
*
*/
private @Nullable String name;
/**
* @return SSL type.
*
*/
private @Nullable String sslState;
/**
* @return SSL certificate thumbprint.
*
*/
private @Nullable String thumbprint;
/**
* @return Set to <code>true</code> to update existing hostname.
*
*/
private @Nullable Boolean toUpdate;
/**
* @return Virtual IP address assigned to the hostname if IP based SSL is enabled.
*
*/
private @Nullable String virtualIP;
private HostNameSslStateResponse() {}
/**
* @return Indicates whether the hostname is a standard or repository hostname.
*
*/
public Optional hostType() {
return Optional.ofNullable(this.hostType);
}
/**
* @return Hostname.
*
*/
public Optional name() {
return Optional.ofNullable(this.name);
}
/**
* @return SSL type.
*
*/
public Optional sslState() {
return Optional.ofNullable(this.sslState);
}
/**
* @return SSL certificate thumbprint.
*
*/
public Optional thumbprint() {
return Optional.ofNullable(this.thumbprint);
}
/**
* @return Set to <code>true</code> to update existing hostname.
*
*/
public Optional toUpdate() {
return Optional.ofNullable(this.toUpdate);
}
/**
* @return Virtual IP address assigned to the hostname if IP based SSL is enabled.
*
*/
public Optional virtualIP() {
return Optional.ofNullable(this.virtualIP);
}
public static Builder builder() {
return new Builder();
}
public static Builder builder(HostNameSslStateResponse defaults) {
return new Builder(defaults);
}
@CustomType.Builder
public static final class Builder {
private @Nullable String hostType;
private @Nullable String name;
private @Nullable String sslState;
private @Nullable String thumbprint;
private @Nullable Boolean toUpdate;
private @Nullable String virtualIP;
public Builder() {}
public Builder(HostNameSslStateResponse defaults) {
Objects.requireNonNull(defaults);
this.hostType = defaults.hostType;
this.name = defaults.name;
this.sslState = defaults.sslState;
this.thumbprint = defaults.thumbprint;
this.toUpdate = defaults.toUpdate;
this.virtualIP = defaults.virtualIP;
}
@CustomType.Setter
public Builder hostType(@Nullable String hostType) {
this.hostType = hostType;
return this;
}
@CustomType.Setter
public Builder name(@Nullable String name) {
this.name = name;
return this;
}
@CustomType.Setter
public Builder sslState(@Nullable String sslState) {
this.sslState = sslState;
return this;
}
@CustomType.Setter
public Builder thumbprint(@Nullable String thumbprint) {
this.thumbprint = thumbprint;
return this;
}
@CustomType.Setter
public Builder toUpdate(@Nullable Boolean toUpdate) {
this.toUpdate = toUpdate;
return this;
}
@CustomType.Setter
public Builder virtualIP(@Nullable String virtualIP) {
this.virtualIP = virtualIP;
return this;
}
public HostNameSslStateResponse build() {
final var _resultValue = new HostNameSslStateResponse();
_resultValue.hostType = hostType;
_resultValue.name = name;
_resultValue.sslState = sslState;
_resultValue.thumbprint = thumbprint;
_resultValue.toUpdate = toUpdate;
_resultValue.virtualIP = virtualIP;
return _resultValue;
}
}
}
© 2015 - 2024 Weber Informatics LLC | Privacy Policy