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

com.pulumi.azurenative.iotoperations.outputs.PrincipalDefinitionResponse Maven / Gradle / Ivy

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

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

@CustomType
public final class PrincipalDefinitionResponse {
    /**
     * @return A list of key-value pairs that match the attributes of the clients. The attributes are case-sensitive and must match the attributes provided by the clients during authentication.
     * 
     */
    private @Nullable List> attributes;
    /**
     * @return A list of client IDs that match the clients. The client IDs are case-sensitive and must match the client IDs provided by the clients during connection.
     * 
     */
    private @Nullable List clientIds;
    /**
     * @return A list of usernames that match the clients. The usernames are case-sensitive and must match the usernames provided by the clients during authentication.
     * 
     */
    private @Nullable List usernames;

    private PrincipalDefinitionResponse() {}
    /**
     * @return A list of key-value pairs that match the attributes of the clients. The attributes are case-sensitive and must match the attributes provided by the clients during authentication.
     * 
     */
    public List> attributes() {
        return this.attributes == null ? List.of() : this.attributes;
    }
    /**
     * @return A list of client IDs that match the clients. The client IDs are case-sensitive and must match the client IDs provided by the clients during connection.
     * 
     */
    public List clientIds() {
        return this.clientIds == null ? List.of() : this.clientIds;
    }
    /**
     * @return A list of usernames that match the clients. The usernames are case-sensitive and must match the usernames provided by the clients during authentication.
     * 
     */
    public List usernames() {
        return this.usernames == null ? List.of() : this.usernames;
    }

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

    public static Builder builder(PrincipalDefinitionResponse defaults) {
        return new Builder(defaults);
    }
    @CustomType.Builder
    public static final class Builder {
        private @Nullable List> attributes;
        private @Nullable List clientIds;
        private @Nullable List usernames;
        public Builder() {}
        public Builder(PrincipalDefinitionResponse defaults) {
    	      Objects.requireNonNull(defaults);
    	      this.attributes = defaults.attributes;
    	      this.clientIds = defaults.clientIds;
    	      this.usernames = defaults.usernames;
        }

        @CustomType.Setter
        public Builder attributes(@Nullable List> attributes) {

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

            this.clientIds = clientIds;
            return this;
        }
        public Builder clientIds(String... clientIds) {
            return clientIds(List.of(clientIds));
        }
        @CustomType.Setter
        public Builder usernames(@Nullable List usernames) {

            this.usernames = usernames;
            return this;
        }
        public Builder usernames(String... usernames) {
            return usernames(List.of(usernames));
        }
        public PrincipalDefinitionResponse build() {
            final var _resultValue = new PrincipalDefinitionResponse();
            _resultValue.attributes = attributes;
            _resultValue.clientIds = clientIds;
            _resultValue.usernames = usernames;
            return _resultValue;
        }
    }
}




© 2015 - 2025 Weber Informatics LLC | Privacy Policy