
com.pulumi.azurenative.apimanagement.outputs.GetGatewayHostnameConfigurationResult 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.apimanagement.outputs;
import com.pulumi.core.annotations.CustomType;
import com.pulumi.exceptions.MissingRequiredPropertyException;
import java.lang.Boolean;
import java.lang.String;
import java.util.Objects;
import java.util.Optional;
import javax.annotation.Nullable;
@CustomType
public final class GetGatewayHostnameConfigurationResult {
/**
* @return Identifier of Certificate entity that will be used for TLS connection establishment
*
*/
private @Nullable String certificateId;
/**
* @return Hostname value. Supports valid domain name, partial or full wildcard
*
*/
private @Nullable String hostname;
/**
* @return Specifies if HTTP/2.0 is supported
*
*/
private @Nullable Boolean http2Enabled;
/**
* @return Fully qualified resource ID for the resource. Ex - /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/{resourceProviderNamespace}/{resourceType}/{resourceName}
*
*/
private String id;
/**
* @return The name of the resource
*
*/
private String name;
/**
* @return Determines whether gateway requests client certificate
*
*/
private @Nullable Boolean negotiateClientCertificate;
/**
* @return Specifies if TLS 1.0 is supported
*
*/
private @Nullable Boolean tls10Enabled;
/**
* @return Specifies if TLS 1.1 is supported
*
*/
private @Nullable Boolean tls11Enabled;
/**
* @return The type of the resource. E.g. "Microsoft.Compute/virtualMachines" or "Microsoft.Storage/storageAccounts"
*
*/
private String type;
private GetGatewayHostnameConfigurationResult() {}
/**
* @return Identifier of Certificate entity that will be used for TLS connection establishment
*
*/
public Optional certificateId() {
return Optional.ofNullable(this.certificateId);
}
/**
* @return Hostname value. Supports valid domain name, partial or full wildcard
*
*/
public Optional hostname() {
return Optional.ofNullable(this.hostname);
}
/**
* @return Specifies if HTTP/2.0 is supported
*
*/
public Optional http2Enabled() {
return Optional.ofNullable(this.http2Enabled);
}
/**
* @return Fully qualified resource ID for the resource. Ex - /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/{resourceProviderNamespace}/{resourceType}/{resourceName}
*
*/
public String id() {
return this.id;
}
/**
* @return The name of the resource
*
*/
public String name() {
return this.name;
}
/**
* @return Determines whether gateway requests client certificate
*
*/
public Optional negotiateClientCertificate() {
return Optional.ofNullable(this.negotiateClientCertificate);
}
/**
* @return Specifies if TLS 1.0 is supported
*
*/
public Optional tls10Enabled() {
return Optional.ofNullable(this.tls10Enabled);
}
/**
* @return Specifies if TLS 1.1 is supported
*
*/
public Optional tls11Enabled() {
return Optional.ofNullable(this.tls11Enabled);
}
/**
* @return The type of the resource. E.g. "Microsoft.Compute/virtualMachines" or "Microsoft.Storage/storageAccounts"
*
*/
public String type() {
return this.type;
}
public static Builder builder() {
return new Builder();
}
public static Builder builder(GetGatewayHostnameConfigurationResult defaults) {
return new Builder(defaults);
}
@CustomType.Builder
public static final class Builder {
private @Nullable String certificateId;
private @Nullable String hostname;
private @Nullable Boolean http2Enabled;
private String id;
private String name;
private @Nullable Boolean negotiateClientCertificate;
private @Nullable Boolean tls10Enabled;
private @Nullable Boolean tls11Enabled;
private String type;
public Builder() {}
public Builder(GetGatewayHostnameConfigurationResult defaults) {
Objects.requireNonNull(defaults);
this.certificateId = defaults.certificateId;
this.hostname = defaults.hostname;
this.http2Enabled = defaults.http2Enabled;
this.id = defaults.id;
this.name = defaults.name;
this.negotiateClientCertificate = defaults.negotiateClientCertificate;
this.tls10Enabled = defaults.tls10Enabled;
this.tls11Enabled = defaults.tls11Enabled;
this.type = defaults.type;
}
@CustomType.Setter
public Builder certificateId(@Nullable String certificateId) {
this.certificateId = certificateId;
return this;
}
@CustomType.Setter
public Builder hostname(@Nullable String hostname) {
this.hostname = hostname;
return this;
}
@CustomType.Setter
public Builder http2Enabled(@Nullable Boolean http2Enabled) {
this.http2Enabled = http2Enabled;
return this;
}
@CustomType.Setter
public Builder id(String id) {
if (id == null) {
throw new MissingRequiredPropertyException("GetGatewayHostnameConfigurationResult", "id");
}
this.id = id;
return this;
}
@CustomType.Setter
public Builder name(String name) {
if (name == null) {
throw new MissingRequiredPropertyException("GetGatewayHostnameConfigurationResult", "name");
}
this.name = name;
return this;
}
@CustomType.Setter
public Builder negotiateClientCertificate(@Nullable Boolean negotiateClientCertificate) {
this.negotiateClientCertificate = negotiateClientCertificate;
return this;
}
@CustomType.Setter
public Builder tls10Enabled(@Nullable Boolean tls10Enabled) {
this.tls10Enabled = tls10Enabled;
return this;
}
@CustomType.Setter
public Builder tls11Enabled(@Nullable Boolean tls11Enabled) {
this.tls11Enabled = tls11Enabled;
return this;
}
@CustomType.Setter
public Builder type(String type) {
if (type == null) {
throw new MissingRequiredPropertyException("GetGatewayHostnameConfigurationResult", "type");
}
this.type = type;
return this;
}
public GetGatewayHostnameConfigurationResult build() {
final var _resultValue = new GetGatewayHostnameConfigurationResult();
_resultValue.certificateId = certificateId;
_resultValue.hostname = hostname;
_resultValue.http2Enabled = http2Enabled;
_resultValue.id = id;
_resultValue.name = name;
_resultValue.negotiateClientCertificate = negotiateClientCertificate;
_resultValue.tls10Enabled = tls10Enabled;
_resultValue.tls11Enabled = tls11Enabled;
_resultValue.type = type;
return _resultValue;
}
}
}
© 2015 - 2025 Weber Informatics LLC | Privacy Policy