com.pulumi.aws.appmesh.outputs.VirtualGatewaySpecLoggingAccessLogFileFormatJson 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.outputs;
import com.pulumi.core.annotations.CustomType;
import com.pulumi.exceptions.MissingRequiredPropertyException;
import java.lang.String;
import java.util.Objects;
@CustomType
public final class VirtualGatewaySpecLoggingAccessLogFileFormatJson {
/**
* @return The specified key for the JSON. Must be between 1 and 100 characters in length.
*
*/
private String key;
/**
* @return The specified value for the JSON. Must be between 1 and 100 characters in length.
*
*/
private String value;
private VirtualGatewaySpecLoggingAccessLogFileFormatJson() {}
/**
* @return The specified key for the JSON. Must be between 1 and 100 characters in length.
*
*/
public String key() {
return this.key;
}
/**
* @return The specified value for the JSON. Must be between 1 and 100 characters in length.
*
*/
public String value() {
return this.value;
}
public static Builder builder() {
return new Builder();
}
public static Builder builder(VirtualGatewaySpecLoggingAccessLogFileFormatJson defaults) {
return new Builder(defaults);
}
@CustomType.Builder
public static final class Builder {
private String key;
private String value;
public Builder() {}
public Builder(VirtualGatewaySpecLoggingAccessLogFileFormatJson defaults) {
Objects.requireNonNull(defaults);
this.key = defaults.key;
this.value = defaults.value;
}
@CustomType.Setter
public Builder key(String key) {
if (key == null) {
throw new MissingRequiredPropertyException("VirtualGatewaySpecLoggingAccessLogFileFormatJson", "key");
}
this.key = key;
return this;
}
@CustomType.Setter
public Builder value(String value) {
if (value == null) {
throw new MissingRequiredPropertyException("VirtualGatewaySpecLoggingAccessLogFileFormatJson", "value");
}
this.value = value;
return this;
}
public VirtualGatewaySpecLoggingAccessLogFileFormatJson build() {
final var _resultValue = new VirtualGatewaySpecLoggingAccessLogFileFormatJson();
_resultValue.key = key;
_resultValue.value = value;
return _resultValue;
}
}
}
© 2015 - 2025 Weber Informatics LLC | Privacy Policy