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

com.pulumi.aws.rds.inputs.RoleAssociationState Maven / Gradle / Ivy

// *** 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.rds.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 RoleAssociationState extends com.pulumi.resources.ResourceArgs {

    public static final RoleAssociationState Empty = new RoleAssociationState();

    /**
     * DB Instance Identifier to associate with the IAM Role.
     * 
     */
    @Import(name="dbInstanceIdentifier")
    private @Nullable Output dbInstanceIdentifier;

    /**
     * @return DB Instance Identifier to associate with the IAM Role.
     * 
     */
    public Optional> dbInstanceIdentifier() {
        return Optional.ofNullable(this.dbInstanceIdentifier);
    }

    /**
     * Name of the feature for association. This can be found in the AWS documentation relevant to the integration or a full list is available in the `SupportedFeatureNames` list returned by [AWS CLI rds describe-db-engine-versions](https://docs.aws.amazon.com/cli/latest/reference/rds/describe-db-engine-versions.html).
     * 
     */
    @Import(name="featureName")
    private @Nullable Output featureName;

    /**
     * @return Name of the feature for association. This can be found in the AWS documentation relevant to the integration or a full list is available in the `SupportedFeatureNames` list returned by [AWS CLI rds describe-db-engine-versions](https://docs.aws.amazon.com/cli/latest/reference/rds/describe-db-engine-versions.html).
     * 
     */
    public Optional> featureName() {
        return Optional.ofNullable(this.featureName);
    }

    /**
     * Amazon Resource Name (ARN) of the IAM Role to associate with the DB Instance.
     * 
     */
    @Import(name="roleArn")
    private @Nullable Output roleArn;

    /**
     * @return Amazon Resource Name (ARN) of the IAM Role to associate with the DB Instance.
     * 
     */
    public Optional> roleArn() {
        return Optional.ofNullable(this.roleArn);
    }

    private RoleAssociationState() {}

    private RoleAssociationState(RoleAssociationState $) {
        this.dbInstanceIdentifier = $.dbInstanceIdentifier;
        this.featureName = $.featureName;
        this.roleArn = $.roleArn;
    }

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

    public static final class Builder {
        private RoleAssociationState $;

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

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

        /**
         * @param dbInstanceIdentifier DB Instance Identifier to associate with the IAM Role.
         * 
         * @return builder
         * 
         */
        public Builder dbInstanceIdentifier(@Nullable Output dbInstanceIdentifier) {
            $.dbInstanceIdentifier = dbInstanceIdentifier;
            return this;
        }

        /**
         * @param dbInstanceIdentifier DB Instance Identifier to associate with the IAM Role.
         * 
         * @return builder
         * 
         */
        public Builder dbInstanceIdentifier(String dbInstanceIdentifier) {
            return dbInstanceIdentifier(Output.of(dbInstanceIdentifier));
        }

        /**
         * @param featureName Name of the feature for association. This can be found in the AWS documentation relevant to the integration or a full list is available in the `SupportedFeatureNames` list returned by [AWS CLI rds describe-db-engine-versions](https://docs.aws.amazon.com/cli/latest/reference/rds/describe-db-engine-versions.html).
         * 
         * @return builder
         * 
         */
        public Builder featureName(@Nullable Output featureName) {
            $.featureName = featureName;
            return this;
        }

        /**
         * @param featureName Name of the feature for association. This can be found in the AWS documentation relevant to the integration or a full list is available in the `SupportedFeatureNames` list returned by [AWS CLI rds describe-db-engine-versions](https://docs.aws.amazon.com/cli/latest/reference/rds/describe-db-engine-versions.html).
         * 
         * @return builder
         * 
         */
        public Builder featureName(String featureName) {
            return featureName(Output.of(featureName));
        }

        /**
         * @param roleArn Amazon Resource Name (ARN) of the IAM Role to associate with the DB Instance.
         * 
         * @return builder
         * 
         */
        public Builder roleArn(@Nullable Output roleArn) {
            $.roleArn = roleArn;
            return this;
        }

        /**
         * @param roleArn Amazon Resource Name (ARN) of the IAM Role to associate with the DB Instance.
         * 
         * @return builder
         * 
         */
        public Builder roleArn(String roleArn) {
            return roleArn(Output.of(roleArn));
        }

        public RoleAssociationState build() {
            return $;
        }
    }

}




© 2015 - 2025 Weber Informatics LLC | Privacy Policy