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

com.pulumi.aws.ssoadmin.inputs.GetPrincipalApplicationAssignmentsApplicationAssignment Maven / Gradle / Ivy

Go to download

A Pulumi package for creating and managing Amazon Web Services (AWS) cloud resources.

There is a newer version: 6.60.0-alpha.1731982519
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.aws.ssoadmin.inputs;

import com.pulumi.core.annotations.Import;
import com.pulumi.exceptions.MissingRequiredPropertyException;
import java.lang.String;
import java.util.Objects;


public final class GetPrincipalApplicationAssignmentsApplicationAssignment extends com.pulumi.resources.InvokeArgs {

    public static final GetPrincipalApplicationAssignmentsApplicationAssignment Empty = new GetPrincipalApplicationAssignmentsApplicationAssignment();

    /**
     * ARN of the application.
     * 
     */
    @Import(name="applicationArn", required=true)
    private String applicationArn;

    /**
     * @return ARN of the application.
     * 
     */
    public String applicationArn() {
        return this.applicationArn;
    }

    /**
     * An identifier for an object in IAM Identity Center, such as a user or group.
     * 
     */
    @Import(name="principalId", required=true)
    private String principalId;

    /**
     * @return An identifier for an object in IAM Identity Center, such as a user or group.
     * 
     */
    public String principalId() {
        return this.principalId;
    }

    /**
     * Entity type for which the assignment will be created. Valid values are `USER` or `GROUP`.
     * 
     */
    @Import(name="principalType", required=true)
    private String principalType;

    /**
     * @return Entity type for which the assignment will be created. Valid values are `USER` or `GROUP`.
     * 
     */
    public String principalType() {
        return this.principalType;
    }

    private GetPrincipalApplicationAssignmentsApplicationAssignment() {}

    private GetPrincipalApplicationAssignmentsApplicationAssignment(GetPrincipalApplicationAssignmentsApplicationAssignment $) {
        this.applicationArn = $.applicationArn;
        this.principalId = $.principalId;
        this.principalType = $.principalType;
    }

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

    public static final class Builder {
        private GetPrincipalApplicationAssignmentsApplicationAssignment $;

        public Builder() {
            $ = new GetPrincipalApplicationAssignmentsApplicationAssignment();
        }

        public Builder(GetPrincipalApplicationAssignmentsApplicationAssignment defaults) {
            $ = new GetPrincipalApplicationAssignmentsApplicationAssignment(Objects.requireNonNull(defaults));
        }

        /**
         * @param applicationArn ARN of the application.
         * 
         * @return builder
         * 
         */
        public Builder applicationArn(String applicationArn) {
            $.applicationArn = applicationArn;
            return this;
        }

        /**
         * @param principalId An identifier for an object in IAM Identity Center, such as a user or group.
         * 
         * @return builder
         * 
         */
        public Builder principalId(String principalId) {
            $.principalId = principalId;
            return this;
        }

        /**
         * @param principalType Entity type for which the assignment will be created. Valid values are `USER` or `GROUP`.
         * 
         * @return builder
         * 
         */
        public Builder principalType(String principalType) {
            $.principalType = principalType;
            return this;
        }

        public GetPrincipalApplicationAssignmentsApplicationAssignment build() {
            if ($.applicationArn == null) {
                throw new MissingRequiredPropertyException("GetPrincipalApplicationAssignmentsApplicationAssignment", "applicationArn");
            }
            if ($.principalId == null) {
                throw new MissingRequiredPropertyException("GetPrincipalApplicationAssignmentsApplicationAssignment", "principalId");
            }
            if ($.principalType == null) {
                throw new MissingRequiredPropertyException("GetPrincipalApplicationAssignmentsApplicationAssignment", "principalType");
            }
            return $;
        }
    }

}




© 2015 - 2025 Weber Informatics LLC | Privacy Policy