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

com.pulumi.aws.datazone.kotlin.GlossaryTermArgs.kt Maven / Gradle / Ivy

Go to download

Build cloud applications and infrastructure by combining the safety and reliability of infrastructure as code with the power of the Kotlin programming language.

There is a newer version: 6.57.0.0
Show newest version
@file:Suppress("NAME_SHADOWING", "DEPRECATION")

package com.pulumi.aws.datazone.kotlin

import com.pulumi.aws.datazone.GlossaryTermArgs.builder
import com.pulumi.aws.datazone.kotlin.inputs.GlossaryTermTermRelationsArgs
import com.pulumi.aws.datazone.kotlin.inputs.GlossaryTermTermRelationsArgsBuilder
import com.pulumi.aws.datazone.kotlin.inputs.GlossaryTermTimeoutsArgs
import com.pulumi.aws.datazone.kotlin.inputs.GlossaryTermTimeoutsArgsBuilder
import com.pulumi.core.Output
import com.pulumi.core.Output.of
import com.pulumi.kotlin.ConvertibleToJava
import com.pulumi.kotlin.PulumiTagMarker
import com.pulumi.kotlin.applySuspend
import kotlin.String
import kotlin.Suppress
import kotlin.Unit
import kotlin.jvm.JvmName

/**
 * Resource for managing an AWS DataZone Glossary Term.
 * ## Example Usage
 * 
 * ```typescript
 * import * as pulumi from "@pulumi/pulumi";
 * import * as aws from "@pulumi/aws";
 * const example = new aws.iam.Role("example", {
 *     name: "example",
 *     assumeRolePolicy: JSON.stringify({
 *         Version: "2012-10-17",
 *         Statement: [
 *             {
 *                 Action: [
 *                     "sts:AssumeRole",
 *                     "sts:TagSession",
 *                 ],
 *                 Effect: "Allow",
 *                 Principal: {
 *                     Service: "datazone.amazonaws.com",
 *                 },
 *             },
 *             {
 *                 Action: [
 *                     "sts:AssumeRole",
 *                     "sts:TagSession",
 *                 ],
 *                 Effect: "Allow",
 *                 Principal: {
 *                     Service: "cloudformation.amazonaws.com",
 *                 },
 *             },
 *         ],
 *     }),
 *     inlinePolicies: [{
 *         name: "example",
 *         policy: JSON.stringify({
 *             Version: "2012-10-17",
 *             Statement: [{
 *                 Action: [
 *                     "datazone:*",
 *                     "ram:*",
 *                     "sso:*",
 *                     "kms:*",
 *                 ],
 *                 Effect: "Allow",
 *                 Resource: "*",
 *             }],
 *         }),
 *     }],
 * });
 * const exampleDomain = new aws.datazone.Domain("example", {
 *     name: "example_name",
 *     domainExecutionRole: example.arn,
 * });
 * const exampleSecurityGroup = new aws.ec2.SecurityGroup("example", {name: "example_name"});
 * const exampleProject = new aws.datazone.Project("example", {
 *     domainIdentifier: exampleDomain.id,
 *     glossaryTerms: ["2N8w6XJCwZf"],
 *     name: "example",
 *     skipDeletionCheck: true,
 * });
 * const exampleGlossary = new aws.datazone.Glossary("example", {
 *     description: "description",
 *     name: "example",
 *     owningProjectIdentifier: exampleProject.id,
 *     status: "ENABLED",
 *     domainIdentifier: exampleProject.domainIdentifier,
 * });
 * const exampleGlossaryTerm = new aws.datazone.GlossaryTerm("example", {
 *     domainIdentifier: exampleDomain.id,
 *     glossaryIdentifier: exampleGlossary.id,
 *     name: "example",
 *     status: "ENABLED",
 * });
 * ```
 * ```python
 * import pulumi
 * import json
 * import pulumi_aws as aws
 * example = aws.iam.Role("example",
 *     name="example",
 *     assume_role_policy=json.dumps({
 *         "Version": "2012-10-17",
 *         "Statement": [
 *             {
 *                 "Action": [
 *                     "sts:AssumeRole",
 *                     "sts:TagSession",
 *                 ],
 *                 "Effect": "Allow",
 *                 "Principal": {
 *                     "Service": "datazone.amazonaws.com",
 *                 },
 *             },
 *             {
 *                 "Action": [
 *                     "sts:AssumeRole",
 *                     "sts:TagSession",
 *                 ],
 *                 "Effect": "Allow",
 *                 "Principal": {
 *                     "Service": "cloudformation.amazonaws.com",
 *                 },
 *             },
 *         ],
 *     }),
 *     inline_policies=[{
 *         "name": "example",
 *         "policy": json.dumps({
 *             "Version": "2012-10-17",
 *             "Statement": [{
 *                 "Action": [
 *                     "datazone:*",
 *                     "ram:*",
 *                     "sso:*",
 *                     "kms:*",
 *                 ],
 *                 "Effect": "Allow",
 *                 "Resource": "*",
 *             }],
 *         }),
 *     }])
 * example_domain = aws.datazone.Domain("example",
 *     name="example_name",
 *     domain_execution_role=example.arn)
 * example_security_group = aws.ec2.SecurityGroup("example", name="example_name")
 * example_project = aws.datazone.Project("example",
 *     domain_identifier=example_domain.id,
 *     glossary_terms=["2N8w6XJCwZf"],
 *     name="example",
 *     skip_deletion_check=True)
 * example_glossary = aws.datazone.Glossary("example",
 *     description="description",
 *     name="example",
 *     owning_project_identifier=example_project.id,
 *     status="ENABLED",
 *     domain_identifier=example_project.domain_identifier)
 * example_glossary_term = aws.datazone.GlossaryTerm("example",
 *     domain_identifier=example_domain.id,
 *     glossary_identifier=example_glossary.id,
 *     name="example",
 *     status="ENABLED")
 * ```
 * ```csharp
 * using System.Collections.Generic;
 * using System.Linq;
 * using System.Text.Json;
 * using Pulumi;
 * using Aws = Pulumi.Aws;
 * return await Deployment.RunAsync(() =>
 * {
 *     var example = new Aws.Iam.Role("example", new()
 *     {
 *         Name = "example",
 *         AssumeRolePolicy = JsonSerializer.Serialize(new Dictionary
 *         {
 *             ["Version"] = "2012-10-17",
 *             ["Statement"] = new[]
 *             {
 *                 new Dictionary
 *                 {
 *                     ["Action"] = new[]
 *                     {
 *                         "sts:AssumeRole",
 *                         "sts:TagSession",
 *                     },
 *                     ["Effect"] = "Allow",
 *                     ["Principal"] = new Dictionary
 *                     {
 *                         ["Service"] = "datazone.amazonaws.com",
 *                     },
 *                 },
 *                 new Dictionary
 *                 {
 *                     ["Action"] = new[]
 *                     {
 *                         "sts:AssumeRole",
 *                         "sts:TagSession",
 *                     },
 *                     ["Effect"] = "Allow",
 *                     ["Principal"] = new Dictionary
 *                     {
 *                         ["Service"] = "cloudformation.amazonaws.com",
 *                     },
 *                 },
 *             },
 *         }),
 *         InlinePolicies = new[]
 *         {
 *             new Aws.Iam.Inputs.RoleInlinePolicyArgs
 *             {
 *                 Name = "example",
 *                 Policy = JsonSerializer.Serialize(new Dictionary
 *                 {
 *                     ["Version"] = "2012-10-17",
 *                     ["Statement"] = new[]
 *                     {
 *                         new Dictionary
 *                         {
 *                             ["Action"] = new[]
 *                             {
 *                                 "datazone:*",
 *                                 "ram:*",
 *                                 "sso:*",
 *                                 "kms:*",
 *                             },
 *                             ["Effect"] = "Allow",
 *                             ["Resource"] = "*",
 *                         },
 *                     },
 *                 }),
 *             },
 *         },
 *     });
 *     var exampleDomain = new Aws.DataZone.Domain("example", new()
 *     {
 *         Name = "example_name",
 *         DomainExecutionRole = example.Arn,
 *     });
 *     var exampleSecurityGroup = new Aws.Ec2.SecurityGroup("example", new()
 *     {
 *         Name = "example_name",
 *     });
 *     var exampleProject = new Aws.DataZone.Project("example", new()
 *     {
 *         DomainIdentifier = exampleDomain.Id,
 *         GlossaryTerms = new[]
 *         {
 *             "2N8w6XJCwZf",
 *         },
 *         Name = "example",
 *         SkipDeletionCheck = true,
 *     });
 *     var exampleGlossary = new Aws.DataZone.Glossary("example", new()
 *     {
 *         Description = "description",
 *         Name = "example",
 *         OwningProjectIdentifier = exampleProject.Id,
 *         Status = "ENABLED",
 *         DomainIdentifier = exampleProject.DomainIdentifier,
 *     });
 *     var exampleGlossaryTerm = new Aws.DataZone.GlossaryTerm("example", new()
 *     {
 *         DomainIdentifier = exampleDomain.Id,
 *         GlossaryIdentifier = exampleGlossary.Id,
 *         Name = "example",
 *         Status = "ENABLED",
 *     });
 * });
 * ```
 * ```go
 * package main
 * import (
 * 	"encoding/json"
 * 	"github.com/pulumi/pulumi-aws/sdk/v6/go/aws/datazone"
 * 	"github.com/pulumi/pulumi-aws/sdk/v6/go/aws/ec2"
 * 	"github.com/pulumi/pulumi-aws/sdk/v6/go/aws/iam"
 * 	"github.com/pulumi/pulumi/sdk/v3/go/pulumi"
 * )
 * func main() {
 * 	pulumi.Run(func(ctx *pulumi.Context) error {
 * 		tmpJSON0, err := json.Marshal(map[string]interface{}{
 * 			"Version": "2012-10-17",
 * 			"Statement": []map[string]interface{}{
 * 				map[string]interface{}{
 * 					"Action": []string{
 * 						"sts:AssumeRole",
 * 						"sts:TagSession",
 * 					},
 * 					"Effect": "Allow",
 * 					"Principal": map[string]interface{}{
 * 						"Service": "datazone.amazonaws.com",
 * 					},
 * 				},
 * 				map[string]interface{}{
 * 					"Action": []string{
 * 						"sts:AssumeRole",
 * 						"sts:TagSession",
 * 					},
 * 					"Effect": "Allow",
 * 					"Principal": map[string]interface{}{
 * 						"Service": "cloudformation.amazonaws.com",
 * 					},
 * 				},
 * 			},
 * 		})
 * 		if err != nil {
 * 			return err
 * 		}
 * 		json0 := string(tmpJSON0)
 * 		tmpJSON1, err := json.Marshal(map[string]interface{}{
 * 			"Version": "2012-10-17",
 * 			"Statement": []map[string]interface{}{
 * 				map[string]interface{}{
 * 					"Action": []string{
 * 						"datazone:*",
 * 						"ram:*",
 * 						"sso:*",
 * 						"kms:*",
 * 					},
 * 					"Effect":   "Allow",
 * 					"Resource": "*",
 * 				},
 * 			},
 * 		})
 * 		if err != nil {
 * 			return err
 * 		}
 * 		json1 := string(tmpJSON1)
 * 		example, err := iam.NewRole(ctx, "example", &iam.RoleArgs{
 * 			Name:             pulumi.String("example"),
 * 			AssumeRolePolicy: pulumi.String(json0),
 * 			InlinePolicies: iam.RoleInlinePolicyArray{
 * 				&iam.RoleInlinePolicyArgs{
 * 					Name:   pulumi.String("example"),
 * 					Policy: pulumi.String(json1),
 * 				},
 * 			},
 * 		})
 * 		if err != nil {
 * 			return err
 * 		}
 * 		exampleDomain, err := datazone.NewDomain(ctx, "example", &datazone.DomainArgs{
 * 			Name:                pulumi.String("example_name"),
 * 			DomainExecutionRole: example.Arn,
 * 		})
 * 		if err != nil {
 * 			return err
 * 		}
 * 		_, err = ec2.NewSecurityGroup(ctx, "example", &ec2.SecurityGroupArgs{
 * 			Name: pulumi.String("example_name"),
 * 		})
 * 		if err != nil {
 * 			return err
 * 		}
 * 		exampleProject, err := datazone.NewProject(ctx, "example", &datazone.ProjectArgs{
 * 			DomainIdentifier: exampleDomain.ID(),
 * 			GlossaryTerms: pulumi.StringArray{
 * 				pulumi.String("2N8w6XJCwZf"),
 * 			},
 * 			Name:              pulumi.String("example"),
 * 			SkipDeletionCheck: pulumi.Bool(true),
 * 		})
 * 		if err != nil {
 * 			return err
 * 		}
 * 		exampleGlossary, err := datazone.NewGlossary(ctx, "example", &datazone.GlossaryArgs{
 * 			Description:             pulumi.String("description"),
 * 			Name:                    pulumi.String("example"),
 * 			OwningProjectIdentifier: exampleProject.ID(),
 * 			Status:                  pulumi.String("ENABLED"),
 * 			DomainIdentifier:        exampleProject.DomainIdentifier,
 * 		})
 * 		if err != nil {
 * 			return err
 * 		}
 * 		_, err = datazone.NewGlossaryTerm(ctx, "example", &datazone.GlossaryTermArgs{
 * 			DomainIdentifier:   exampleDomain.ID(),
 * 			GlossaryIdentifier: exampleGlossary.ID(),
 * 			Name:               pulumi.String("example"),
 * 			Status:             pulumi.String("ENABLED"),
 * 		})
 * 		if err != nil {
 * 			return err
 * 		}
 * 		return nil
 * 	})
 * }
 * ```
 * ```java
 * package generated_program;
 * import com.pulumi.Context;
 * import com.pulumi.Pulumi;
 * import com.pulumi.core.Output;
 * import com.pulumi.aws.iam.Role;
 * import com.pulumi.aws.iam.RoleArgs;
 * import com.pulumi.aws.iam.inputs.RoleInlinePolicyArgs;
 * import com.pulumi.aws.datazone.Domain;
 * import com.pulumi.aws.datazone.DomainArgs;
 * import com.pulumi.aws.ec2.SecurityGroup;
 * import com.pulumi.aws.ec2.SecurityGroupArgs;
 * import com.pulumi.aws.datazone.Project;
 * import com.pulumi.aws.datazone.ProjectArgs;
 * import com.pulumi.aws.datazone.Glossary;
 * import com.pulumi.aws.datazone.GlossaryArgs;
 * import com.pulumi.aws.datazone.GlossaryTerm;
 * import com.pulumi.aws.datazone.GlossaryTermArgs;
 * import static com.pulumi.codegen.internal.Serialization.*;
 * import java.util.List;
 * import java.util.ArrayList;
 * import java.util.Map;
 * import java.io.File;
 * import java.nio.file.Files;
 * import java.nio.file.Paths;
 * public class App {
 *     public static void main(String[] args) {
 *         Pulumi.run(App::stack);
 *     }
 *     public static void stack(Context ctx) {
 *         var example = new Role("example", RoleArgs.builder()
 *             .name("example")
 *             .assumeRolePolicy(serializeJson(
 *                 jsonObject(
 *                     jsonProperty("Version", "2012-10-17"),
 *                     jsonProperty("Statement", jsonArray(
 *                         jsonObject(
 *                             jsonProperty("Action", jsonArray(
 *                                 "sts:AssumeRole",
 *                                 "sts:TagSession"
 *                             )),
 *                             jsonProperty("Effect", "Allow"),
 *                             jsonProperty("Principal", jsonObject(
 *                                 jsonProperty("Service", "datazone.amazonaws.com")
 *                             ))
 *                         ),
 *                         jsonObject(
 *                             jsonProperty("Action", jsonArray(
 *                                 "sts:AssumeRole",
 *                                 "sts:TagSession"
 *                             )),
 *                             jsonProperty("Effect", "Allow"),
 *                             jsonProperty("Principal", jsonObject(
 *                                 jsonProperty("Service", "cloudformation.amazonaws.com")
 *                             ))
 *                         )
 *                     ))
 *                 )))
 *             .inlinePolicies(RoleInlinePolicyArgs.builder()
 *                 .name("example")
 *                 .policy(serializeJson(
 *                     jsonObject(
 *                         jsonProperty("Version", "2012-10-17"),
 *                         jsonProperty("Statement", jsonArray(jsonObject(
 *                             jsonProperty("Action", jsonArray(
 *                                 "datazone:*",
 *                                 "ram:*",
 *                                 "sso:*",
 *                                 "kms:*"
 *                             )),
 *                             jsonProperty("Effect", "Allow"),
 *                             jsonProperty("Resource", "*")
 *                         )))
 *                     )))
 *                 .build())
 *             .build());
 *         var exampleDomain = new Domain("exampleDomain", DomainArgs.builder()
 *             .name("example_name")
 *             .domainExecutionRole(example.arn())
 *             .build());
 *         var exampleSecurityGroup = new SecurityGroup("exampleSecurityGroup", SecurityGroupArgs.builder()
 *             .name("example_name")
 *             .build());
 *         var exampleProject = new Project("exampleProject", ProjectArgs.builder()
 *             .domainIdentifier(exampleDomain.id())
 *             .glossaryTerms("2N8w6XJCwZf")
 *             .name("example")
 *             .skipDeletionCheck(true)
 *             .build());
 *         var exampleGlossary = new Glossary("exampleGlossary", GlossaryArgs.builder()
 *             .description("description")
 *             .name("example")
 *             .owningProjectIdentifier(exampleProject.id())
 *             .status("ENABLED")
 *             .domainIdentifier(exampleProject.domainIdentifier())
 *             .build());
 *         var exampleGlossaryTerm = new GlossaryTerm("exampleGlossaryTerm", GlossaryTermArgs.builder()
 *             .domainIdentifier(exampleDomain.id())
 *             .glossaryIdentifier(exampleGlossary.id())
 *             .name("example")
 *             .status("ENABLED")
 *             .build());
 *     }
 * }
 * ```
 * ```yaml
 * resources:
 *   example:
 *     type: aws:iam:Role
 *     properties:
 *       name: example
 *       assumeRolePolicy:
 *         fn::toJSON:
 *           Version: 2012-10-17
 *           Statement:
 *             - Action:
 *                 - sts:AssumeRole
 *                 - sts:TagSession
 *               Effect: Allow
 *               Principal:
 *                 Service: datazone.amazonaws.com
 *             - Action:
 *                 - sts:AssumeRole
 *                 - sts:TagSession
 *               Effect: Allow
 *               Principal:
 *                 Service: cloudformation.amazonaws.com
 *       inlinePolicies:
 *         - name: example
 *           policy:
 *             fn::toJSON:
 *               Version: 2012-10-17
 *               Statement:
 *                 - Action:
 *                     - datazone:*
 *                     - ram:*
 *                     - sso:*
 *                     - kms:*
 *                   Effect: Allow
 *                   Resource: '*'
 *   exampleDomain:
 *     type: aws:datazone:Domain
 *     name: example
 *     properties:
 *       name: example_name
 *       domainExecutionRole: ${example.arn}
 *   exampleSecurityGroup:
 *     type: aws:ec2:SecurityGroup
 *     name: example
 *     properties:
 *       name: example_name
 *   exampleProject:
 *     type: aws:datazone:Project
 *     name: example
 *     properties:
 *       domainIdentifier: ${exampleDomain.id}
 *       glossaryTerms:
 *         - 2N8w6XJCwZf
 *       name: example
 *       skipDeletionCheck: true
 *   exampleGlossary:
 *     type: aws:datazone:Glossary
 *     name: example
 *     properties:
 *       description: description
 *       name: example
 *       owningProjectIdentifier: ${exampleProject.id}
 *       status: ENABLED
 *       domainIdentifier: ${exampleProject.domainIdentifier}
 *   exampleGlossaryTerm:
 *     type: aws:datazone:GlossaryTerm
 *     name: example
 *     properties:
 *       domainIdentifier: ${exampleDomain.id}
 *       glossaryIdentifier: ${exampleGlossary.id}
 *       name: example
 *       status: ENABLED
 * ```
 * 
 * ## Import
 * Using `pulumi import`, import DataZone Glossary Term using a comma-delimited string combining the `domain_identifier`, `id`, and the `glossary_identifier`. For example:
 * ```sh
 * $ pulumi import aws:datazone/glossaryTerm:GlossaryTerm example domain-id,glossary-term-id,glossary-id
 * ```
 * @property domainIdentifier Identifier of domain.
 * @property glossaryIdentifier Identifier of glossary.
 * @property longDescription Long description of entry.
 * @property name Name of glossary term.
 * The following arguments are optional:
 * @property shortDescription Short description of entry.
 * @property status If glossary term is ENABLED or DISABLED.
 * @property termRelations Object classifying the term relations through the following attributes:
 * @property timeouts
 */
public data class GlossaryTermArgs(
    public val domainIdentifier: Output? = null,
    public val glossaryIdentifier: Output? = null,
    public val longDescription: Output? = null,
    public val name: Output? = null,
    public val shortDescription: Output? = null,
    public val status: Output? = null,
    public val termRelations: Output? = null,
    public val timeouts: Output? = null,
) : ConvertibleToJava {
    override fun toJava(): com.pulumi.aws.datazone.GlossaryTermArgs =
        com.pulumi.aws.datazone.GlossaryTermArgs.builder()
            .domainIdentifier(domainIdentifier?.applyValue({ args0 -> args0 }))
            .glossaryIdentifier(glossaryIdentifier?.applyValue({ args0 -> args0 }))
            .longDescription(longDescription?.applyValue({ args0 -> args0 }))
            .name(name?.applyValue({ args0 -> args0 }))
            .shortDescription(shortDescription?.applyValue({ args0 -> args0 }))
            .status(status?.applyValue({ args0 -> args0 }))
            .termRelations(termRelations?.applyValue({ args0 -> args0.let({ args0 -> args0.toJava() }) }))
            .timeouts(timeouts?.applyValue({ args0 -> args0.let({ args0 -> args0.toJava() }) })).build()
}

/**
 * Builder for [GlossaryTermArgs].
 */
@PulumiTagMarker
public class GlossaryTermArgsBuilder internal constructor() {
    private var domainIdentifier: Output? = null

    private var glossaryIdentifier: Output? = null

    private var longDescription: Output? = null

    private var name: Output? = null

    private var shortDescription: Output? = null

    private var status: Output? = null

    private var termRelations: Output? = null

    private var timeouts: Output? = null

    /**
     * @param value Identifier of domain.
     */
    @JvmName("bocltkryfsltcrll")
    public suspend fun domainIdentifier(`value`: Output) {
        this.domainIdentifier = value
    }

    /**
     * @param value Identifier of glossary.
     */
    @JvmName("ryqjkmkbsevyvsbd")
    public suspend fun glossaryIdentifier(`value`: Output) {
        this.glossaryIdentifier = value
    }

    /**
     * @param value Long description of entry.
     */
    @JvmName("ipfhkcmetdxubwji")
    public suspend fun longDescription(`value`: Output) {
        this.longDescription = value
    }

    /**
     * @param value Name of glossary term.
     * The following arguments are optional:
     */
    @JvmName("smxbwgbgwlgpwgms")
    public suspend fun name(`value`: Output) {
        this.name = value
    }

    /**
     * @param value Short description of entry.
     */
    @JvmName("ibskoqbageecvuvt")
    public suspend fun shortDescription(`value`: Output) {
        this.shortDescription = value
    }

    /**
     * @param value If glossary term is ENABLED or DISABLED.
     */
    @JvmName("dutjlwdggivsmamb")
    public suspend fun status(`value`: Output) {
        this.status = value
    }

    /**
     * @param value Object classifying the term relations through the following attributes:
     */
    @JvmName("uakffcvinhmgofoo")
    public suspend fun termRelations(`value`: Output) {
        this.termRelations = value
    }

    /**
     * @param value
     */
    @JvmName("prfhvldfnnvbpjhe")
    public suspend fun timeouts(`value`: Output) {
        this.timeouts = value
    }

    /**
     * @param value Identifier of domain.
     */
    @JvmName("igqrwnpmayfdhfnq")
    public suspend fun domainIdentifier(`value`: String?) {
        val toBeMapped = value
        val mapped = toBeMapped?.let({ args0 -> of(args0) })
        this.domainIdentifier = mapped
    }

    /**
     * @param value Identifier of glossary.
     */
    @JvmName("cpsbiqbftsotelgk")
    public suspend fun glossaryIdentifier(`value`: String?) {
        val toBeMapped = value
        val mapped = toBeMapped?.let({ args0 -> of(args0) })
        this.glossaryIdentifier = mapped
    }

    /**
     * @param value Long description of entry.
     */
    @JvmName("smttpejqjvuftdmd")
    public suspend fun longDescription(`value`: String?) {
        val toBeMapped = value
        val mapped = toBeMapped?.let({ args0 -> of(args0) })
        this.longDescription = mapped
    }

    /**
     * @param value Name of glossary term.
     * The following arguments are optional:
     */
    @JvmName("kudiiqufgxbhxhwb")
    public suspend fun name(`value`: String?) {
        val toBeMapped = value
        val mapped = toBeMapped?.let({ args0 -> of(args0) })
        this.name = mapped
    }

    /**
     * @param value Short description of entry.
     */
    @JvmName("haffunehualujcat")
    public suspend fun shortDescription(`value`: String?) {
        val toBeMapped = value
        val mapped = toBeMapped?.let({ args0 -> of(args0) })
        this.shortDescription = mapped
    }

    /**
     * @param value If glossary term is ENABLED or DISABLED.
     */
    @JvmName("flymiringdpwbqlu")
    public suspend fun status(`value`: String?) {
        val toBeMapped = value
        val mapped = toBeMapped?.let({ args0 -> of(args0) })
        this.status = mapped
    }

    /**
     * @param value Object classifying the term relations through the following attributes:
     */
    @JvmName("nkrrtlmdjfoyduyb")
    public suspend fun termRelations(`value`: GlossaryTermTermRelationsArgs?) {
        val toBeMapped = value
        val mapped = toBeMapped?.let({ args0 -> of(args0) })
        this.termRelations = mapped
    }

    /**
     * @param argument Object classifying the term relations through the following attributes:
     */
    @JvmName("bkdrsioqkulwneba")
    public suspend fun termRelations(argument: suspend GlossaryTermTermRelationsArgsBuilder.() -> Unit) {
        val toBeMapped = GlossaryTermTermRelationsArgsBuilder().applySuspend { argument() }.build()
        val mapped = of(toBeMapped)
        this.termRelations = mapped
    }

    /**
     * @param value
     */
    @JvmName("odikdqtphdtnsiui")
    public suspend fun timeouts(`value`: GlossaryTermTimeoutsArgs?) {
        val toBeMapped = value
        val mapped = toBeMapped?.let({ args0 -> of(args0) })
        this.timeouts = mapped
    }

    /**
     * @param argument
     */
    @JvmName("wwwqffyxfybohhpl")
    public suspend fun timeouts(argument: suspend GlossaryTermTimeoutsArgsBuilder.() -> Unit) {
        val toBeMapped = GlossaryTermTimeoutsArgsBuilder().applySuspend { argument() }.build()
        val mapped = of(toBeMapped)
        this.timeouts = mapped
    }

    internal fun build(): GlossaryTermArgs = GlossaryTermArgs(
        domainIdentifier = domainIdentifier,
        glossaryIdentifier = glossaryIdentifier,
        longDescription = longDescription,
        name = name,
        shortDescription = shortDescription,
        status = status,
        termRelations = termRelations,
        timeouts = timeouts,
    )
}




© 2015 - 2024 Weber Informatics LLC | Privacy Policy