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

com.pulumi.azurenative.customerinsights.outputs.StrongIdResponse Maven / Gradle / Ivy

There is a newer version: 2.82.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.customerinsights.outputs;

import com.pulumi.core.annotations.CustomType;
import com.pulumi.exceptions.MissingRequiredPropertyException;
import java.lang.String;
import java.util.List;
import java.util.Map;
import java.util.Objects;
import javax.annotation.Nullable;

@CustomType
public final class StrongIdResponse {
    /**
     * @return Localized descriptions.
     * 
     */
    private @Nullable Map description;
    /**
     * @return Localized display name.
     * 
     */
    private @Nullable Map displayName;
    /**
     * @return The properties which make up the unique ID.
     * 
     */
    private List keyPropertyNames;
    /**
     * @return The Name identifying the strong ID.
     * 
     */
    private String strongIdName;

    private StrongIdResponse() {}
    /**
     * @return Localized descriptions.
     * 
     */
    public Map description() {
        return this.description == null ? Map.of() : this.description;
    }
    /**
     * @return Localized display name.
     * 
     */
    public Map displayName() {
        return this.displayName == null ? Map.of() : this.displayName;
    }
    /**
     * @return The properties which make up the unique ID.
     * 
     */
    public List keyPropertyNames() {
        return this.keyPropertyNames;
    }
    /**
     * @return The Name identifying the strong ID.
     * 
     */
    public String strongIdName() {
        return this.strongIdName;
    }

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

    public static Builder builder(StrongIdResponse defaults) {
        return new Builder(defaults);
    }
    @CustomType.Builder
    public static final class Builder {
        private @Nullable Map description;
        private @Nullable Map displayName;
        private List keyPropertyNames;
        private String strongIdName;
        public Builder() {}
        public Builder(StrongIdResponse defaults) {
    	      Objects.requireNonNull(defaults);
    	      this.description = defaults.description;
    	      this.displayName = defaults.displayName;
    	      this.keyPropertyNames = defaults.keyPropertyNames;
    	      this.strongIdName = defaults.strongIdName;
        }

        @CustomType.Setter
        public Builder description(@Nullable Map description) {

            this.description = description;
            return this;
        }
        @CustomType.Setter
        public Builder displayName(@Nullable Map displayName) {

            this.displayName = displayName;
            return this;
        }
        @CustomType.Setter
        public Builder keyPropertyNames(List keyPropertyNames) {
            if (keyPropertyNames == null) {
              throw new MissingRequiredPropertyException("StrongIdResponse", "keyPropertyNames");
            }
            this.keyPropertyNames = keyPropertyNames;
            return this;
        }
        public Builder keyPropertyNames(String... keyPropertyNames) {
            return keyPropertyNames(List.of(keyPropertyNames));
        }
        @CustomType.Setter
        public Builder strongIdName(String strongIdName) {
            if (strongIdName == null) {
              throw new MissingRequiredPropertyException("StrongIdResponse", "strongIdName");
            }
            this.strongIdName = strongIdName;
            return this;
        }
        public StrongIdResponse build() {
            final var _resultValue = new StrongIdResponse();
            _resultValue.description = description;
            _resultValue.displayName = displayName;
            _resultValue.keyPropertyNames = keyPropertyNames;
            _resultValue.strongIdName = strongIdName;
            return _resultValue;
        }
    }
}




© 2015 - 2025 Weber Informatics LLC | Privacy Policy