com.pulumi.aws.appmesh.inputs.VirtualNodeSpecLoggingAccessLogFileFormatJsonArgs 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.appmesh.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 VirtualNodeSpecLoggingAccessLogFileFormatJsonArgs extends com.pulumi.resources.ResourceArgs {
public static final VirtualNodeSpecLoggingAccessLogFileFormatJsonArgs Empty = new VirtualNodeSpecLoggingAccessLogFileFormatJsonArgs();
/**
* The specified key for the JSON. Must be between 1 and 100 characters in length.
*
*/
@Import(name="key", required=true)
private Output key;
/**
* @return The specified key for the JSON. Must be between 1 and 100 characters in length.
*
*/
public Output key() {
return this.key;
}
/**
* The specified value for the JSON. Must be between 1 and 100 characters in length.
*
*/
@Import(name="value", required=true)
private Output value;
/**
* @return The specified value for the JSON. Must be between 1 and 100 characters in length.
*
*/
public Output value() {
return this.value;
}
private VirtualNodeSpecLoggingAccessLogFileFormatJsonArgs() {}
private VirtualNodeSpecLoggingAccessLogFileFormatJsonArgs(VirtualNodeSpecLoggingAccessLogFileFormatJsonArgs $) {
this.key = $.key;
this.value = $.value;
}
public static Builder builder() {
return new Builder();
}
public static Builder builder(VirtualNodeSpecLoggingAccessLogFileFormatJsonArgs defaults) {
return new Builder(defaults);
}
public static final class Builder {
private VirtualNodeSpecLoggingAccessLogFileFormatJsonArgs $;
public Builder() {
$ = new VirtualNodeSpecLoggingAccessLogFileFormatJsonArgs();
}
public Builder(VirtualNodeSpecLoggingAccessLogFileFormatJsonArgs defaults) {
$ = new VirtualNodeSpecLoggingAccessLogFileFormatJsonArgs(Objects.requireNonNull(defaults));
}
/**
* @param key The specified key for the JSON. Must be between 1 and 100 characters in length.
*
* @return builder
*
*/
public Builder key(Output key) {
$.key = key;
return this;
}
/**
* @param key The specified key for the JSON. Must be between 1 and 100 characters in length.
*
* @return builder
*
*/
public Builder key(String key) {
return key(Output.of(key));
}
/**
* @param value The specified value for the JSON. Must be between 1 and 100 characters in length.
*
* @return builder
*
*/
public Builder value(Output value) {
$.value = value;
return this;
}
/**
* @param value The specified value for the JSON. Must be between 1 and 100 characters in length.
*
* @return builder
*
*/
public Builder value(String value) {
return value(Output.of(value));
}
public VirtualNodeSpecLoggingAccessLogFileFormatJsonArgs build() {
if ($.key == null) {
throw new MissingRequiredPropertyException("VirtualNodeSpecLoggingAccessLogFileFormatJsonArgs", "key");
}
if ($.value == null) {
throw new MissingRequiredPropertyException("VirtualNodeSpecLoggingAccessLogFileFormatJsonArgs", "value");
}
return $;
}
}
}
© 2015 - 2025 Weber Informatics LLC | Privacy Policy