com.pulumi.azurenative.iotoperationsmq.outputs.ManualCertMethodResponse 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.iotoperationsmq.outputs;
import com.pulumi.core.annotations.CustomType;
import com.pulumi.exceptions.MissingRequiredPropertyException;
import java.lang.String;
import java.util.Objects;
import java.util.Optional;
import javax.annotation.Nullable;
@CustomType
public final class ManualCertMethodResponse {
/**
* @return secret containing TLS cert.
*
*/
private String secretName;
/**
* @return namespace of secret; omit to use default namespace.
*
*/
private @Nullable String secretNamespace;
private ManualCertMethodResponse() {}
/**
* @return secret containing TLS cert.
*
*/
public String secretName() {
return this.secretName;
}
/**
* @return namespace of secret; omit to use default namespace.
*
*/
public Optional secretNamespace() {
return Optional.ofNullable(this.secretNamespace);
}
public static Builder builder() {
return new Builder();
}
public static Builder builder(ManualCertMethodResponse defaults) {
return new Builder(defaults);
}
@CustomType.Builder
public static final class Builder {
private String secretName;
private @Nullable String secretNamespace;
public Builder() {}
public Builder(ManualCertMethodResponse defaults) {
Objects.requireNonNull(defaults);
this.secretName = defaults.secretName;
this.secretNamespace = defaults.secretNamespace;
}
@CustomType.Setter
public Builder secretName(String secretName) {
if (secretName == null) {
throw new MissingRequiredPropertyException("ManualCertMethodResponse", "secretName");
}
this.secretName = secretName;
return this;
}
@CustomType.Setter
public Builder secretNamespace(@Nullable String secretNamespace) {
this.secretNamespace = secretNamespace;
return this;
}
public ManualCertMethodResponse build() {
final var _resultValue = new ManualCertMethodResponse();
_resultValue.secretName = secretName;
_resultValue.secretNamespace = secretNamespace;
return _resultValue;
}
}
}
© 2015 - 2024 Weber Informatics LLC | Privacy Policy