com.pulumi.scm.outputs.GetCertificateProfileUsernameField Maven / Gradle / Ivy
Go to download
Show more of this group Show more artifacts with this name
Show all versions of scm Show documentation
Show all versions of scm Show documentation
A Pulumi package for managing resources on Strata Cloud Manager.
// *** 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.scm.outputs;
import com.pulumi.core.annotations.CustomType;
import com.pulumi.exceptions.MissingRequiredPropertyException;
import java.lang.String;
import java.util.Objects;
@CustomType
public final class GetCertificateProfileUsernameField {
/**
* @return The Subject param. String must be one of these: `"common-name"`.
*
*/
private String subject;
/**
* @return The SubjectAlt param. String must be one of these: `"email"`.
*
*/
private String subjectAlt;
private GetCertificateProfileUsernameField() {}
/**
* @return The Subject param. String must be one of these: `"common-name"`.
*
*/
public String subject() {
return this.subject;
}
/**
* @return The SubjectAlt param. String must be one of these: `"email"`.
*
*/
public String subjectAlt() {
return this.subjectAlt;
}
public static Builder builder() {
return new Builder();
}
public static Builder builder(GetCertificateProfileUsernameField defaults) {
return new Builder(defaults);
}
@CustomType.Builder
public static final class Builder {
private String subject;
private String subjectAlt;
public Builder() {}
public Builder(GetCertificateProfileUsernameField defaults) {
Objects.requireNonNull(defaults);
this.subject = defaults.subject;
this.subjectAlt = defaults.subjectAlt;
}
@CustomType.Setter
public Builder subject(String subject) {
if (subject == null) {
throw new MissingRequiredPropertyException("GetCertificateProfileUsernameField", "subject");
}
this.subject = subject;
return this;
}
@CustomType.Setter
public Builder subjectAlt(String subjectAlt) {
if (subjectAlt == null) {
throw new MissingRequiredPropertyException("GetCertificateProfileUsernameField", "subjectAlt");
}
this.subjectAlt = subjectAlt;
return this;
}
public GetCertificateProfileUsernameField build() {
final var _resultValue = new GetCertificateProfileUsernameField();
_resultValue.subject = subject;
_resultValue.subjectAlt = subjectAlt;
return _resultValue;
}
}
}
© 2015 - 2025 Weber Informatics LLC | Privacy Policy