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

com.pulumi.keycloak.inputs.GetClientDescriptionConverterPlainArgs Maven / Gradle / Ivy

There is a newer version: 5.4.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.keycloak.inputs;

import com.pulumi.core.annotations.Import;
import com.pulumi.exceptions.MissingRequiredPropertyException;
import java.lang.String;
import java.util.Objects;


public final class GetClientDescriptionConverterPlainArgs extends com.pulumi.resources.InvokeArgs {

    public static final GetClientDescriptionConverterPlainArgs Empty = new GetClientDescriptionConverterPlainArgs();

    /**
     * The body of the request to convert.
     * 
     */
    @Import(name="body", required=true)
    private String body;

    /**
     * @return The body of the request to convert.
     * 
     */
    public String body() {
        return this.body;
    }

    /**
     * The realm to use for the client description converter API call.
     * 
     */
    @Import(name="realmId", required=true)
    private String realmId;

    /**
     * @return The realm to use for the client description converter API call.
     * 
     */
    public String realmId() {
        return this.realmId;
    }

    private GetClientDescriptionConverterPlainArgs() {}

    private GetClientDescriptionConverterPlainArgs(GetClientDescriptionConverterPlainArgs $) {
        this.body = $.body;
        this.realmId = $.realmId;
    }

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

    public static final class Builder {
        private GetClientDescriptionConverterPlainArgs $;

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

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

        /**
         * @param body The body of the request to convert.
         * 
         * @return builder
         * 
         */
        public Builder body(String body) {
            $.body = body;
            return this;
        }

        /**
         * @param realmId The realm to use for the client description converter API call.
         * 
         * @return builder
         * 
         */
        public Builder realmId(String realmId) {
            $.realmId = realmId;
            return this;
        }

        public GetClientDescriptionConverterPlainArgs build() {
            if ($.body == null) {
                throw new MissingRequiredPropertyException("GetClientDescriptionConverterPlainArgs", "body");
            }
            if ($.realmId == null) {
                throw new MissingRequiredPropertyException("GetClientDescriptionConverterPlainArgs", "realmId");
            }
            return $;
        }
    }

}




© 2015 - 2025 Weber Informatics LLC | Privacy Policy