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

com.pulumi.azurenative.sql.outputs.SyncGroupSchemaResponse 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.azurenative.sql.outputs;

import com.pulumi.azurenative.sql.outputs.SyncGroupSchemaTableResponse;
import com.pulumi.core.annotations.CustomType;
import java.lang.String;
import java.util.List;
import java.util.Objects;
import java.util.Optional;
import javax.annotation.Nullable;

@CustomType
public final class SyncGroupSchemaResponse {
    /**
     * @return Name of master sync member where the schema is from.
     * 
     */
    private @Nullable String masterSyncMemberName;
    /**
     * @return List of tables in sync group schema.
     * 
     */
    private @Nullable List tables;

    private SyncGroupSchemaResponse() {}
    /**
     * @return Name of master sync member where the schema is from.
     * 
     */
    public Optional masterSyncMemberName() {
        return Optional.ofNullable(this.masterSyncMemberName);
    }
    /**
     * @return List of tables in sync group schema.
     * 
     */
    public List tables() {
        return this.tables == null ? List.of() : this.tables;
    }

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

    public static Builder builder(SyncGroupSchemaResponse defaults) {
        return new Builder(defaults);
    }
    @CustomType.Builder
    public static final class Builder {
        private @Nullable String masterSyncMemberName;
        private @Nullable List tables;
        public Builder() {}
        public Builder(SyncGroupSchemaResponse defaults) {
    	      Objects.requireNonNull(defaults);
    	      this.masterSyncMemberName = defaults.masterSyncMemberName;
    	      this.tables = defaults.tables;
        }

        @CustomType.Setter
        public Builder masterSyncMemberName(@Nullable String masterSyncMemberName) {

            this.masterSyncMemberName = masterSyncMemberName;
            return this;
        }
        @CustomType.Setter
        public Builder tables(@Nullable List tables) {

            this.tables = tables;
            return this;
        }
        public Builder tables(SyncGroupSchemaTableResponse... tables) {
            return tables(List.of(tables));
        }
        public SyncGroupSchemaResponse build() {
            final var _resultValue = new SyncGroupSchemaResponse();
            _resultValue.masterSyncMemberName = masterSyncMemberName;
            _resultValue.tables = tables;
            return _resultValue;
        }
    }
}




© 2015 - 2025 Weber Informatics LLC | Privacy Policy