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

com.pulumi.aws.ssoadmin.inputs.PermissionSetInlinePolicyState 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.Output;
import com.pulumi.core.annotations.Import;
import java.lang.String;
import java.util.Objects;
import java.util.Optional;
import javax.annotation.Nullable;


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

    public static final PermissionSetInlinePolicyState Empty = new PermissionSetInlinePolicyState();

    /**
     * The IAM inline policy to attach to a Permission Set.
     * 
     */
    @Import(name="inlinePolicy")
    private @Nullable Output inlinePolicy;

    /**
     * @return The IAM inline policy to attach to a Permission Set.
     * 
     */
    public Optional> inlinePolicy() {
        return Optional.ofNullable(this.inlinePolicy);
    }

    /**
     * The Amazon Resource Name (ARN) of the SSO Instance under which the operation will be executed.
     * 
     */
    @Import(name="instanceArn")
    private @Nullable Output instanceArn;

    /**
     * @return The Amazon Resource Name (ARN) of the SSO Instance under which the operation will be executed.
     * 
     */
    public Optional> instanceArn() {
        return Optional.ofNullable(this.instanceArn);
    }

    /**
     * The Amazon Resource Name (ARN) of the Permission Set.
     * 
     */
    @Import(name="permissionSetArn")
    private @Nullable Output permissionSetArn;

    /**
     * @return The Amazon Resource Name (ARN) of the Permission Set.
     * 
     */
    public Optional> permissionSetArn() {
        return Optional.ofNullable(this.permissionSetArn);
    }

    private PermissionSetInlinePolicyState() {}

    private PermissionSetInlinePolicyState(PermissionSetInlinePolicyState $) {
        this.inlinePolicy = $.inlinePolicy;
        this.instanceArn = $.instanceArn;
        this.permissionSetArn = $.permissionSetArn;
    }

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

    public static final class Builder {
        private PermissionSetInlinePolicyState $;

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

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

        /**
         * @param inlinePolicy The IAM inline policy to attach to a Permission Set.
         * 
         * @return builder
         * 
         */
        public Builder inlinePolicy(@Nullable Output inlinePolicy) {
            $.inlinePolicy = inlinePolicy;
            return this;
        }

        /**
         * @param inlinePolicy The IAM inline policy to attach to a Permission Set.
         * 
         * @return builder
         * 
         */
        public Builder inlinePolicy(String inlinePolicy) {
            return inlinePolicy(Output.of(inlinePolicy));
        }

        /**
         * @param instanceArn The Amazon Resource Name (ARN) of the SSO Instance under which the operation will be executed.
         * 
         * @return builder
         * 
         */
        public Builder instanceArn(@Nullable Output instanceArn) {
            $.instanceArn = instanceArn;
            return this;
        }

        /**
         * @param instanceArn The Amazon Resource Name (ARN) of the SSO Instance under which the operation will be executed.
         * 
         * @return builder
         * 
         */
        public Builder instanceArn(String instanceArn) {
            return instanceArn(Output.of(instanceArn));
        }

        /**
         * @param permissionSetArn The Amazon Resource Name (ARN) of the Permission Set.
         * 
         * @return builder
         * 
         */
        public Builder permissionSetArn(@Nullable Output permissionSetArn) {
            $.permissionSetArn = permissionSetArn;
            return this;
        }

        /**
         * @param permissionSetArn The Amazon Resource Name (ARN) of the Permission Set.
         * 
         * @return builder
         * 
         */
        public Builder permissionSetArn(String permissionSetArn) {
            return permissionSetArn(Output.of(permissionSetArn));
        }

        public PermissionSetInlinePolicyState build() {
            return $;
        }
    }

}




© 2015 - 2025 Weber Informatics LLC | Privacy Policy