com.pulumi.aws.controltower.inputs.ControlTowerControlParameterArgs Maven / Gradle / Ivy
Go to download
Show more of this group Show more artifacts with this name
Show all versions of aws Show documentation
Show all versions of aws Show documentation
A Pulumi package for creating and managing Amazon Web Services (AWS) cloud resources.
// *** 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.aws.controltower.inputs;
import com.pulumi.core.Output;
import com.pulumi.core.annotations.Import;
import com.pulumi.exceptions.MissingRequiredPropertyException;
import java.lang.String;
import java.util.Objects;
public final class ControlTowerControlParameterArgs extends com.pulumi.resources.ResourceArgs {
public static final ControlTowerControlParameterArgs Empty = new ControlTowerControlParameterArgs();
/**
* The name of the parameter.
*
*/
@Import(name="key", required=true)
private Output key;
/**
* @return The name of the parameter.
*
*/
public Output key() {
return this.key;
}
/**
* The value of the parameter.
*
*/
@Import(name="value", required=true)
private Output value;
/**
* @return The value of the parameter.
*
*/
public Output value() {
return this.value;
}
private ControlTowerControlParameterArgs() {}
private ControlTowerControlParameterArgs(ControlTowerControlParameterArgs $) {
this.key = $.key;
this.value = $.value;
}
public static Builder builder() {
return new Builder();
}
public static Builder builder(ControlTowerControlParameterArgs defaults) {
return new Builder(defaults);
}
public static final class Builder {
private ControlTowerControlParameterArgs $;
public Builder() {
$ = new ControlTowerControlParameterArgs();
}
public Builder(ControlTowerControlParameterArgs defaults) {
$ = new ControlTowerControlParameterArgs(Objects.requireNonNull(defaults));
}
/**
* @param key The name of the parameter.
*
* @return builder
*
*/
public Builder key(Output key) {
$.key = key;
return this;
}
/**
* @param key The name of the parameter.
*
* @return builder
*
*/
public Builder key(String key) {
return key(Output.of(key));
}
/**
* @param value The value of the parameter.
*
* @return builder
*
*/
public Builder value(Output value) {
$.value = value;
return this;
}
/**
* @param value The value of the parameter.
*
* @return builder
*
*/
public Builder value(String value) {
return value(Output.of(value));
}
public ControlTowerControlParameterArgs build() {
if ($.key == null) {
throw new MissingRequiredPropertyException("ControlTowerControlParameterArgs", "key");
}
if ($.value == null) {
throw new MissingRequiredPropertyException("ControlTowerControlParameterArgs", "value");
}
return $;
}
}
}
© 2015 - 2025 Weber Informatics LLC | Privacy Policy