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

com.microsoft.aad.msal4j.InstanceDiscoveryMetadataEntry Maven / Gradle / Ivy

There is a newer version: 1.0.15
Show newest version
// Generated by delombok at Mon Apr 17 18:26:07 UTC 2023
// Copyright (c) Microsoft Corporation. All rights reserved.
// Licensed under the MIT License.
package com.microsoft.aad.msal4j;

import com.fasterxml.jackson.annotation.JsonProperty;
import lombok.*;
import java.util.*;

class InstanceDiscoveryMetadataEntry {
    @JsonProperty("preferred_network")
    String preferredNetwork;
    @JsonProperty("preferred_cache")
    String preferredCache;
    @JsonProperty("aliases")
    Set aliases;


    @java.lang.SuppressWarnings("all")
    public static class InstanceDiscoveryMetadataEntryBuilder {
        @java.lang.SuppressWarnings("all")
        private String preferredNetwork;
        @java.lang.SuppressWarnings("all")
        private String preferredCache;
        @java.lang.SuppressWarnings("all")
        private Set aliases;

        @java.lang.SuppressWarnings("all")
        InstanceDiscoveryMetadataEntryBuilder() {
        }

        @java.lang.SuppressWarnings("all")
        public InstanceDiscoveryMetadataEntryBuilder preferredNetwork(final String preferredNetwork) {
            this.preferredNetwork = preferredNetwork;
            return this;
        }

        @java.lang.SuppressWarnings("all")
        public InstanceDiscoveryMetadataEntryBuilder preferredCache(final String preferredCache) {
            this.preferredCache = preferredCache;
            return this;
        }

        @java.lang.SuppressWarnings("all")
        public InstanceDiscoveryMetadataEntryBuilder aliases(final Set aliases) {
            this.aliases = aliases;
            return this;
        }

        @java.lang.SuppressWarnings("all")
        public InstanceDiscoveryMetadataEntry build() {
            return new InstanceDiscoveryMetadataEntry(preferredNetwork, preferredCache, aliases);
        }

        @java.lang.Override
        @java.lang.SuppressWarnings("all")
        public java.lang.String toString() {
            return "InstanceDiscoveryMetadataEntry.InstanceDiscoveryMetadataEntryBuilder(preferredNetwork=" + this.preferredNetwork + ", preferredCache=" + this.preferredCache + ", aliases=" + this.aliases + ")";
        }
    }

    @java.lang.SuppressWarnings("all")
    public static InstanceDiscoveryMetadataEntryBuilder builder() {
        return new InstanceDiscoveryMetadataEntryBuilder();
    }

    @java.lang.SuppressWarnings("all")
    String preferredNetwork() {
        return this.preferredNetwork;
    }

    @java.lang.SuppressWarnings("all")
    String preferredCache() {
        return this.preferredCache;
    }

    @java.lang.SuppressWarnings("all")
    Set aliases() {
        return this.aliases;
    }

    @java.lang.SuppressWarnings("all")
    public InstanceDiscoveryMetadataEntry() {
    }

    @java.lang.SuppressWarnings("all")
    public InstanceDiscoveryMetadataEntry(final String preferredNetwork, final String preferredCache, final Set aliases) {
        this.preferredNetwork = preferredNetwork;
        this.preferredCache = preferredCache;
        this.aliases = aliases;
    }
}




© 2015 - 2024 Weber Informatics LLC | Privacy Policy