com.ovhcloud.pulumi.ovh.Cloud.outputs.GetProjectIam Maven / Gradle / Ivy
Go to download
Show more of this group Show more artifacts with this name
Show all versions of pulumi-ovh Show documentation
Show all versions of pulumi-ovh Show documentation
A Pulumi package for creating and managing OVH 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.ovhcloud.pulumi.ovh.Cloud.outputs;
import com.pulumi.core.annotations.CustomType;
import com.pulumi.exceptions.MissingRequiredPropertyException;
import java.lang.String;
import java.util.Map;
import java.util.Objects;
@CustomType
public final class GetProjectIam {
/**
* @return Resource display name
*
*/
private String displayName;
/**
* @return Unique identifier of the resource in the IAM
*
*/
private String id;
/**
* @return Resource tags. Tags that were internally computed are prefixed with `ovh:`
*
*/
private Map tags;
/**
* @return URN of the private database, used when writing IAM policies
*
*/
private String urn;
private GetProjectIam() {}
/**
* @return Resource display name
*
*/
public String displayName() {
return this.displayName;
}
/**
* @return Unique identifier of the resource in the IAM
*
*/
public String id() {
return this.id;
}
/**
* @return Resource tags. Tags that were internally computed are prefixed with `ovh:`
*
*/
public Map tags() {
return this.tags;
}
/**
* @return URN of the private database, used when writing IAM policies
*
*/
public String urn() {
return this.urn;
}
public static Builder builder() {
return new Builder();
}
public static Builder builder(GetProjectIam defaults) {
return new Builder(defaults);
}
@CustomType.Builder
public static final class Builder {
private String displayName;
private String id;
private Map tags;
private String urn;
public Builder() {}
public Builder(GetProjectIam defaults) {
Objects.requireNonNull(defaults);
this.displayName = defaults.displayName;
this.id = defaults.id;
this.tags = defaults.tags;
this.urn = defaults.urn;
}
@CustomType.Setter
public Builder displayName(String displayName) {
if (displayName == null) {
throw new MissingRequiredPropertyException("GetProjectIam", "displayName");
}
this.displayName = displayName;
return this;
}
@CustomType.Setter
public Builder id(String id) {
if (id == null) {
throw new MissingRequiredPropertyException("GetProjectIam", "id");
}
this.id = id;
return this;
}
@CustomType.Setter
public Builder tags(Map tags) {
if (tags == null) {
throw new MissingRequiredPropertyException("GetProjectIam", "tags");
}
this.tags = tags;
return this;
}
@CustomType.Setter
public Builder urn(String urn) {
if (urn == null) {
throw new MissingRequiredPropertyException("GetProjectIam", "urn");
}
this.urn = urn;
return this;
}
public GetProjectIam build() {
final var _resultValue = new GetProjectIam();
_resultValue.displayName = displayName;
_resultValue.id = id;
_resultValue.tags = tags;
_resultValue.urn = urn;
return _resultValue;
}
}
}
© 2015 - 2024 Weber Informatics LLC | Privacy Policy