com.pulumi.akamai.outputs.GetIamGrantableRolesResult Maven / Gradle / Ivy
Go to download
Show more of this group Show more artifacts with this name
Show all versions of akamai Show documentation
Show all versions of akamai Show documentation
A Pulumi package for creating and managing akamai cloud resources.
The newest version!
// *** 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.akamai.outputs;
import com.pulumi.akamai.outputs.GetIamGrantableRolesGrantableRole;
import com.pulumi.core.annotations.CustomType;
import com.pulumi.exceptions.MissingRequiredPropertyException;
import java.lang.String;
import java.util.List;
import java.util.Objects;
@CustomType
public final class GetIamGrantableRolesResult {
private List grantableRoles;
/**
* @return The provider-assigned unique ID for this managed resource.
*
*/
private String id;
private GetIamGrantableRolesResult() {}
public List grantableRoles() {
return this.grantableRoles;
}
/**
* @return The provider-assigned unique ID for this managed resource.
*
*/
public String id() {
return this.id;
}
public static Builder builder() {
return new Builder();
}
public static Builder builder(GetIamGrantableRolesResult defaults) {
return new Builder(defaults);
}
@CustomType.Builder
public static final class Builder {
private List grantableRoles;
private String id;
public Builder() {}
public Builder(GetIamGrantableRolesResult defaults) {
Objects.requireNonNull(defaults);
this.grantableRoles = defaults.grantableRoles;
this.id = defaults.id;
}
@CustomType.Setter
public Builder grantableRoles(List grantableRoles) {
if (grantableRoles == null) {
throw new MissingRequiredPropertyException("GetIamGrantableRolesResult", "grantableRoles");
}
this.grantableRoles = grantableRoles;
return this;
}
public Builder grantableRoles(GetIamGrantableRolesGrantableRole... grantableRoles) {
return grantableRoles(List.of(grantableRoles));
}
@CustomType.Setter
public Builder id(String id) {
if (id == null) {
throw new MissingRequiredPropertyException("GetIamGrantableRolesResult", "id");
}
this.id = id;
return this;
}
public GetIamGrantableRolesResult build() {
final var _resultValue = new GetIamGrantableRolesResult();
_resultValue.grantableRoles = grantableRoles;
_resultValue.id = id;
return _resultValue;
}
}
}
© 2015 - 2025 Weber Informatics LLC | Privacy Policy