com.pulumi.aws.verifiedaccess.InstanceLoggingConfigurationArgs 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.verifiedaccess;
import com.pulumi.aws.verifiedaccess.inputs.InstanceLoggingConfigurationAccessLogsArgs;
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 InstanceLoggingConfigurationArgs extends com.pulumi.resources.ResourceArgs {
public static final InstanceLoggingConfigurationArgs Empty = new InstanceLoggingConfigurationArgs();
/**
* A block that specifies the configuration options for Verified Access instances. Detailed below.
*
*/
@Import(name="accessLogs", required=true)
private Output accessLogs;
/**
* @return A block that specifies the configuration options for Verified Access instances. Detailed below.
*
*/
public Output accessLogs() {
return this.accessLogs;
}
/**
* The ID of the Verified Access instance.
*
*/
@Import(name="verifiedaccessInstanceId", required=true)
private Output verifiedaccessInstanceId;
/**
* @return The ID of the Verified Access instance.
*
*/
public Output verifiedaccessInstanceId() {
return this.verifiedaccessInstanceId;
}
private InstanceLoggingConfigurationArgs() {}
private InstanceLoggingConfigurationArgs(InstanceLoggingConfigurationArgs $) {
this.accessLogs = $.accessLogs;
this.verifiedaccessInstanceId = $.verifiedaccessInstanceId;
}
public static Builder builder() {
return new Builder();
}
public static Builder builder(InstanceLoggingConfigurationArgs defaults) {
return new Builder(defaults);
}
public static final class Builder {
private InstanceLoggingConfigurationArgs $;
public Builder() {
$ = new InstanceLoggingConfigurationArgs();
}
public Builder(InstanceLoggingConfigurationArgs defaults) {
$ = new InstanceLoggingConfigurationArgs(Objects.requireNonNull(defaults));
}
/**
* @param accessLogs A block that specifies the configuration options for Verified Access instances. Detailed below.
*
* @return builder
*
*/
public Builder accessLogs(Output accessLogs) {
$.accessLogs = accessLogs;
return this;
}
/**
* @param accessLogs A block that specifies the configuration options for Verified Access instances. Detailed below.
*
* @return builder
*
*/
public Builder accessLogs(InstanceLoggingConfigurationAccessLogsArgs accessLogs) {
return accessLogs(Output.of(accessLogs));
}
/**
* @param verifiedaccessInstanceId The ID of the Verified Access instance.
*
* @return builder
*
*/
public Builder verifiedaccessInstanceId(Output verifiedaccessInstanceId) {
$.verifiedaccessInstanceId = verifiedaccessInstanceId;
return this;
}
/**
* @param verifiedaccessInstanceId The ID of the Verified Access instance.
*
* @return builder
*
*/
public Builder verifiedaccessInstanceId(String verifiedaccessInstanceId) {
return verifiedaccessInstanceId(Output.of(verifiedaccessInstanceId));
}
public InstanceLoggingConfigurationArgs build() {
if ($.accessLogs == null) {
throw new MissingRequiredPropertyException("InstanceLoggingConfigurationArgs", "accessLogs");
}
if ($.verifiedaccessInstanceId == null) {
throw new MissingRequiredPropertyException("InstanceLoggingConfigurationArgs", "verifiedaccessInstanceId");
}
return $;
}
}
}
© 2015 - 2025 Weber Informatics LLC | Privacy Policy