
com.pulumi.azurenative.devcenter.outputs.EnvironmentRoleResponse 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.devcenter.outputs;
import com.pulumi.core.annotations.CustomType;
import com.pulumi.exceptions.MissingRequiredPropertyException;
import java.lang.String;
import java.util.Objects;
@CustomType
public final class EnvironmentRoleResponse {
/**
* @return This is a description of the Role Assignment.
*
*/
private String description;
/**
* @return The common name of the Role Assignment. This is a descriptive name such as 'AcrPush'.
*
*/
private String roleName;
private EnvironmentRoleResponse() {}
/**
* @return This is a description of the Role Assignment.
*
*/
public String description() {
return this.description;
}
/**
* @return The common name of the Role Assignment. This is a descriptive name such as 'AcrPush'.
*
*/
public String roleName() {
return this.roleName;
}
public static Builder builder() {
return new Builder();
}
public static Builder builder(EnvironmentRoleResponse defaults) {
return new Builder(defaults);
}
@CustomType.Builder
public static final class Builder {
private String description;
private String roleName;
public Builder() {}
public Builder(EnvironmentRoleResponse defaults) {
Objects.requireNonNull(defaults);
this.description = defaults.description;
this.roleName = defaults.roleName;
}
@CustomType.Setter
public Builder description(String description) {
if (description == null) {
throw new MissingRequiredPropertyException("EnvironmentRoleResponse", "description");
}
this.description = description;
return this;
}
@CustomType.Setter
public Builder roleName(String roleName) {
if (roleName == null) {
throw new MissingRequiredPropertyException("EnvironmentRoleResponse", "roleName");
}
this.roleName = roleName;
return this;
}
public EnvironmentRoleResponse build() {
final var _resultValue = new EnvironmentRoleResponse();
_resultValue.description = description;
_resultValue.roleName = roleName;
return _resultValue;
}
}
}
© 2015 - 2025 Weber Informatics LLC | Privacy Policy