
com.pulumi.azurenative.labservices.outputs.SecurityProfileResponse 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.labservices.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 SecurityProfileResponse {
/**
* @return Whether any user or only specified users can register to a lab.
*
*/
private @Nullable String openAccess;
/**
* @return The registration code for the lab.
*
*/
private String registrationCode;
private SecurityProfileResponse() {}
/**
* @return Whether any user or only specified users can register to a lab.
*
*/
public Optional openAccess() {
return Optional.ofNullable(this.openAccess);
}
/**
* @return The registration code for the lab.
*
*/
public String registrationCode() {
return this.registrationCode;
}
public static Builder builder() {
return new Builder();
}
public static Builder builder(SecurityProfileResponse defaults) {
return new Builder(defaults);
}
@CustomType.Builder
public static final class Builder {
private @Nullable String openAccess;
private String registrationCode;
public Builder() {}
public Builder(SecurityProfileResponse defaults) {
Objects.requireNonNull(defaults);
this.openAccess = defaults.openAccess;
this.registrationCode = defaults.registrationCode;
}
@CustomType.Setter
public Builder openAccess(@Nullable String openAccess) {
this.openAccess = openAccess;
return this;
}
@CustomType.Setter
public Builder registrationCode(String registrationCode) {
if (registrationCode == null) {
throw new MissingRequiredPropertyException("SecurityProfileResponse", "registrationCode");
}
this.registrationCode = registrationCode;
return this;
}
public SecurityProfileResponse build() {
final var _resultValue = new SecurityProfileResponse();
_resultValue.openAccess = openAccess;
_resultValue.registrationCode = registrationCode;
return _resultValue;
}
}
}
© 2015 - 2025 Weber Informatics LLC | Privacy Policy