com.pulumi.mongodbatlas.outputs.GetFederatedSettingsIdentityProvidersResultAssociatedOrgRoleMappingRoleAssignment Maven / Gradle / Ivy
// *** 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.mongodbatlas.outputs;
import com.pulumi.core.annotations.CustomType;
import com.pulumi.exceptions.MissingRequiredPropertyException;
import java.lang.String;
import java.util.Objects;
@CustomType
public final class GetFederatedSettingsIdentityProvidersResultAssociatedOrgRoleMappingRoleAssignment {
/**
* @return Unique identifier of the project to which you want the role mapping to apply.
*
*/
private String groupId;
/**
* @return Unique 24-hexadecimal digit string that identifies the organization that contains your projects.
*
*/
private String orgId;
/**
* @return Specifies the Role that is attached to the Role Mapping.
*
*/
private String role;
private GetFederatedSettingsIdentityProvidersResultAssociatedOrgRoleMappingRoleAssignment() {}
/**
* @return Unique identifier of the project to which you want the role mapping to apply.
*
*/
public String groupId() {
return this.groupId;
}
/**
* @return Unique 24-hexadecimal digit string that identifies the organization that contains your projects.
*
*/
public String orgId() {
return this.orgId;
}
/**
* @return Specifies the Role that is attached to the Role Mapping.
*
*/
public String role() {
return this.role;
}
public static Builder builder() {
return new Builder();
}
public static Builder builder(GetFederatedSettingsIdentityProvidersResultAssociatedOrgRoleMappingRoleAssignment defaults) {
return new Builder(defaults);
}
@CustomType.Builder
public static final class Builder {
private String groupId;
private String orgId;
private String role;
public Builder() {}
public Builder(GetFederatedSettingsIdentityProvidersResultAssociatedOrgRoleMappingRoleAssignment defaults) {
Objects.requireNonNull(defaults);
this.groupId = defaults.groupId;
this.orgId = defaults.orgId;
this.role = defaults.role;
}
@CustomType.Setter
public Builder groupId(String groupId) {
if (groupId == null) {
throw new MissingRequiredPropertyException("GetFederatedSettingsIdentityProvidersResultAssociatedOrgRoleMappingRoleAssignment", "groupId");
}
this.groupId = groupId;
return this;
}
@CustomType.Setter
public Builder orgId(String orgId) {
if (orgId == null) {
throw new MissingRequiredPropertyException("GetFederatedSettingsIdentityProvidersResultAssociatedOrgRoleMappingRoleAssignment", "orgId");
}
this.orgId = orgId;
return this;
}
@CustomType.Setter
public Builder role(String role) {
if (role == null) {
throw new MissingRequiredPropertyException("GetFederatedSettingsIdentityProvidersResultAssociatedOrgRoleMappingRoleAssignment", "role");
}
this.role = role;
return this;
}
public GetFederatedSettingsIdentityProvidersResultAssociatedOrgRoleMappingRoleAssignment build() {
final var _resultValue = new GetFederatedSettingsIdentityProvidersResultAssociatedOrgRoleMappingRoleAssignment();
_resultValue.groupId = groupId;
_resultValue.orgId = orgId;
_resultValue.role = role;
return _resultValue;
}
}
}
© 2015 - 2025 Weber Informatics LLC | Privacy Policy