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

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

Go to download

A Pulumi package for creating and managing Amazon Web Services (AWS) 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.aws.ssoadmin.inputs;

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


public final class GetPrincipalApplicationAssignmentsApplicationAssignmentArgs extends com.pulumi.resources.ResourceArgs {

    public static final GetPrincipalApplicationAssignmentsApplicationAssignmentArgs Empty = new GetPrincipalApplicationAssignmentsApplicationAssignmentArgs();

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

    /**
     * @return ARN of the application.
     * 
     */
    public Output 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 Output principalId;

    /**
     * @return An identifier for an object in IAM Identity Center, such as a user or group.
     * 
     */
    public Output 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 Output principalType;

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

    private GetPrincipalApplicationAssignmentsApplicationAssignmentArgs() {}

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

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

    public static final class Builder {
        private GetPrincipalApplicationAssignmentsApplicationAssignmentArgs $;

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

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

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

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

        /**
         * @param principalId An identifier for an object in IAM Identity Center, such as a user or group.
         * 
         * @return builder
         * 
         */
        public Builder principalId(Output principalId) {
            $.principalId = principalId;
            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) {
            return principalId(Output.of(principalId));
        }

        /**
         * @param principalType Entity type for which the assignment will be created. Valid values are `USER` or `GROUP`.
         * 
         * @return builder
         * 
         */
        public Builder principalType(Output principalType) {
            $.principalType = principalType;
            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) {
            return principalType(Output.of(principalType));
        }

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

}




© 2015 - 2025 Weber Informatics LLC | Privacy Policy