All Downloads are FREE. Search and download functionalities are using the official Maven repository.

com.pulumi.azurenative.security.outputs.GcpOrganizationalDataMemberResponse Maven / Gradle / Ivy

There is a newer version: 2.82.0
Show 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.azurenative.security.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 GcpOrganizationalDataMemberResponse {
    /**
     * @return The GCP management project number from organizational onboarding
     * 
     */
    private @Nullable String managementProjectNumber;
    /**
     * @return The multi cloud account's membership type in the organization
     * Expected value is 'Member'.
     * 
     */
    private String organizationMembershipType;
    /**
     * @return If the multi cloud account is not of membership type organization, this will be the ID of the project's parent
     * 
     */
    private @Nullable String parentHierarchyId;

    private GcpOrganizationalDataMemberResponse() {}
    /**
     * @return The GCP management project number from organizational onboarding
     * 
     */
    public Optional managementProjectNumber() {
        return Optional.ofNullable(this.managementProjectNumber);
    }
    /**
     * @return The multi cloud account's membership type in the organization
     * Expected value is 'Member'.
     * 
     */
    public String organizationMembershipType() {
        return this.organizationMembershipType;
    }
    /**
     * @return If the multi cloud account is not of membership type organization, this will be the ID of the project's parent
     * 
     */
    public Optional parentHierarchyId() {
        return Optional.ofNullable(this.parentHierarchyId);
    }

    public static Builder builder() {
        return new Builder();
    }

    public static Builder builder(GcpOrganizationalDataMemberResponse defaults) {
        return new Builder(defaults);
    }
    @CustomType.Builder
    public static final class Builder {
        private @Nullable String managementProjectNumber;
        private String organizationMembershipType;
        private @Nullable String parentHierarchyId;
        public Builder() {}
        public Builder(GcpOrganizationalDataMemberResponse defaults) {
    	      Objects.requireNonNull(defaults);
    	      this.managementProjectNumber = defaults.managementProjectNumber;
    	      this.organizationMembershipType = defaults.organizationMembershipType;
    	      this.parentHierarchyId = defaults.parentHierarchyId;
        }

        @CustomType.Setter
        public Builder managementProjectNumber(@Nullable String managementProjectNumber) {

            this.managementProjectNumber = managementProjectNumber;
            return this;
        }
        @CustomType.Setter
        public Builder organizationMembershipType(String organizationMembershipType) {
            if (organizationMembershipType == null) {
              throw new MissingRequiredPropertyException("GcpOrganizationalDataMemberResponse", "organizationMembershipType");
            }
            this.organizationMembershipType = organizationMembershipType;
            return this;
        }
        @CustomType.Setter
        public Builder parentHierarchyId(@Nullable String parentHierarchyId) {

            this.parentHierarchyId = parentHierarchyId;
            return this;
        }
        public GcpOrganizationalDataMemberResponse build() {
            final var _resultValue = new GcpOrganizationalDataMemberResponse();
            _resultValue.managementProjectNumber = managementProjectNumber;
            _resultValue.organizationMembershipType = organizationMembershipType;
            _resultValue.parentHierarchyId = parentHierarchyId;
            return _resultValue;
        }
    }
}




© 2015 - 2025 Weber Informatics LLC | Privacy Policy