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

com.pulumi.azurenative.sql.inputs.SyncGroupSchemaArgs Maven / Gradle / Ivy

There is a newer version: 2.78.0
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.azurenative.sql.inputs;

import com.pulumi.azurenative.sql.inputs.SyncGroupSchemaTableArgs;
import com.pulumi.core.Output;
import com.pulumi.core.annotations.Import;
import java.lang.String;
import java.util.List;
import java.util.Objects;
import java.util.Optional;
import javax.annotation.Nullable;


/**
 * Properties of sync group schema.
 * 
 */
public final class SyncGroupSchemaArgs extends com.pulumi.resources.ResourceArgs {

    public static final SyncGroupSchemaArgs Empty = new SyncGroupSchemaArgs();

    /**
     * Name of master sync member where the schema is from.
     * 
     */
    @Import(name="masterSyncMemberName")
    private @Nullable Output masterSyncMemberName;

    /**
     * @return Name of master sync member where the schema is from.
     * 
     */
    public Optional> masterSyncMemberName() {
        return Optional.ofNullable(this.masterSyncMemberName);
    }

    /**
     * List of tables in sync group schema.
     * 
     */
    @Import(name="tables")
    private @Nullable Output> tables;

    /**
     * @return List of tables in sync group schema.
     * 
     */
    public Optional>> tables() {
        return Optional.ofNullable(this.tables);
    }

    private SyncGroupSchemaArgs() {}

    private SyncGroupSchemaArgs(SyncGroupSchemaArgs $) {
        this.masterSyncMemberName = $.masterSyncMemberName;
        this.tables = $.tables;
    }

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

    public static final class Builder {
        private SyncGroupSchemaArgs $;

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

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

        /**
         * @param masterSyncMemberName Name of master sync member where the schema is from.
         * 
         * @return builder
         * 
         */
        public Builder masterSyncMemberName(@Nullable Output masterSyncMemberName) {
            $.masterSyncMemberName = masterSyncMemberName;
            return this;
        }

        /**
         * @param masterSyncMemberName Name of master sync member where the schema is from.
         * 
         * @return builder
         * 
         */
        public Builder masterSyncMemberName(String masterSyncMemberName) {
            return masterSyncMemberName(Output.of(masterSyncMemberName));
        }

        /**
         * @param tables List of tables in sync group schema.
         * 
         * @return builder
         * 
         */
        public Builder tables(@Nullable Output> tables) {
            $.tables = tables;
            return this;
        }

        /**
         * @param tables List of tables in sync group schema.
         * 
         * @return builder
         * 
         */
        public Builder tables(List tables) {
            return tables(Output.of(tables));
        }

        /**
         * @param tables List of tables in sync group schema.
         * 
         * @return builder
         * 
         */
        public Builder tables(SyncGroupSchemaTableArgs... tables) {
            return tables(List.of(tables));
        }

        public SyncGroupSchemaArgs build() {
            return $;
        }
    }

}




© 2015 - 2024 Weber Informatics LLC | Privacy Policy