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

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

There is a newer version: 2.89.2
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 AwsOrganizationalDataMemberResponse {
    /**
     * @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 account's parent
     * 
     */
    private @Nullable String parentHierarchyId;

    private AwsOrganizationalDataMemberResponse() {}
    /**
     * @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 account's parent
     * 
     */
    public Optional parentHierarchyId() {
        return Optional.ofNullable(this.parentHierarchyId);
    }

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

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

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

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




© 2015 - 2025 Weber Informatics LLC | Privacy Policy