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

com.pulumi.alicloud.rds.inputs.RdsServiceLinkedRoleState Maven / Gradle / Ivy

There is a newer version: 3.63.0-alpha.1727424957
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.alicloud.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 RdsServiceLinkedRoleState extends com.pulumi.resources.ResourceArgs {

    public static final RdsServiceLinkedRoleState Empty = new RdsServiceLinkedRoleState();

    /**
     * The Alibaba Cloud Resource Name (ARN) of the role.
     * 
     */
    @Import(name="arn")
    private @Nullable Output arn;

    /**
     * @return The Alibaba Cloud Resource Name (ARN) of the role.
     * 
     */
    public Optional> arn() {
        return Optional.ofNullable(this.arn);
    }

    /**
     * The ID of the role.
     * 
     */
    @Import(name="roleId")
    private @Nullable Output roleId;

    /**
     * @return The ID of the role.
     * 
     */
    public Optional> roleId() {
        return Optional.ofNullable(this.roleId);
    }

    /**
     * The name of the role.
     * 
     */
    @Import(name="roleName")
    private @Nullable Output roleName;

    /**
     * @return The name of the role.
     * 
     */
    public Optional> roleName() {
        return Optional.ofNullable(this.roleName);
    }

    /**
     * The product name for SLR. RDS can automatically create the following service-linked roles: `AliyunServiceRoleForRdsPgsqlOnEcs`, `AliyunServiceRoleForRDSProxyOnEcs`.
     * 
     */
    @Import(name="serviceName")
    private @Nullable Output serviceName;

    /**
     * @return The product name for SLR. RDS can automatically create the following service-linked roles: `AliyunServiceRoleForRdsPgsqlOnEcs`, `AliyunServiceRoleForRDSProxyOnEcs`.
     * 
     */
    public Optional> serviceName() {
        return Optional.ofNullable(this.serviceName);
    }

    private RdsServiceLinkedRoleState() {}

    private RdsServiceLinkedRoleState(RdsServiceLinkedRoleState $) {
        this.arn = $.arn;
        this.roleId = $.roleId;
        this.roleName = $.roleName;
        this.serviceName = $.serviceName;
    }

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

    public static final class Builder {
        private RdsServiceLinkedRoleState $;

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

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

        /**
         * @param arn The Alibaba Cloud Resource Name (ARN) of the role.
         * 
         * @return builder
         * 
         */
        public Builder arn(@Nullable Output arn) {
            $.arn = arn;
            return this;
        }

        /**
         * @param arn The Alibaba Cloud Resource Name (ARN) of the role.
         * 
         * @return builder
         * 
         */
        public Builder arn(String arn) {
            return arn(Output.of(arn));
        }

        /**
         * @param roleId The ID of the role.
         * 
         * @return builder
         * 
         */
        public Builder roleId(@Nullable Output roleId) {
            $.roleId = roleId;
            return this;
        }

        /**
         * @param roleId The ID of the role.
         * 
         * @return builder
         * 
         */
        public Builder roleId(String roleId) {
            return roleId(Output.of(roleId));
        }

        /**
         * @param roleName The name of the role.
         * 
         * @return builder
         * 
         */
        public Builder roleName(@Nullable Output roleName) {
            $.roleName = roleName;
            return this;
        }

        /**
         * @param roleName The name of the role.
         * 
         * @return builder
         * 
         */
        public Builder roleName(String roleName) {
            return roleName(Output.of(roleName));
        }

        /**
         * @param serviceName The product name for SLR. RDS can automatically create the following service-linked roles: `AliyunServiceRoleForRdsPgsqlOnEcs`, `AliyunServiceRoleForRDSProxyOnEcs`.
         * 
         * @return builder
         * 
         */
        public Builder serviceName(@Nullable Output serviceName) {
            $.serviceName = serviceName;
            return this;
        }

        /**
         * @param serviceName The product name for SLR. RDS can automatically create the following service-linked roles: `AliyunServiceRoleForRdsPgsqlOnEcs`, `AliyunServiceRoleForRDSProxyOnEcs`.
         * 
         * @return builder
         * 
         */
        public Builder serviceName(String serviceName) {
            return serviceName(Output.of(serviceName));
        }

        public RdsServiceLinkedRoleState build() {
            return $;
        }
    }

}




© 2015 - 2024 Weber Informatics LLC | Privacy Policy