
com.pulumi.azurenative.awsconnector.outputs.LogsConfigResponse Maven / Gradle / Ivy
Go to download
Show more of this group Show more artifacts with this name
Show all versions of azure-native Show documentation
Show all versions of azure-native Show documentation
A native Pulumi package for creating and managing Azure 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.azurenative.awsconnector.outputs;
import com.pulumi.azurenative.awsconnector.outputs.CloudWatchLogsConfigResponse;
import com.pulumi.azurenative.awsconnector.outputs.S3LogsConfigResponse;
import com.pulumi.core.annotations.CustomType;
import java.util.Objects;
import java.util.Optional;
import javax.annotation.Nullable;
@CustomType
public final class LogsConfigResponse {
/**
* @return <p> Information about CloudWatch Logs for a build project. CloudWatch Logs are enabled by default. </p>
*
*/
private @Nullable CloudWatchLogsConfigResponse cloudWatchLogs;
/**
* @return <p> Information about logs built to an S3 bucket for a build project. S3 logs are not enabled by default. </p>
*
*/
private @Nullable S3LogsConfigResponse s3Logs;
private LogsConfigResponse() {}
/**
* @return <p> Information about CloudWatch Logs for a build project. CloudWatch Logs are enabled by default. </p>
*
*/
public Optional cloudWatchLogs() {
return Optional.ofNullable(this.cloudWatchLogs);
}
/**
* @return <p> Information about logs built to an S3 bucket for a build project. S3 logs are not enabled by default. </p>
*
*/
public Optional s3Logs() {
return Optional.ofNullable(this.s3Logs);
}
public static Builder builder() {
return new Builder();
}
public static Builder builder(LogsConfigResponse defaults) {
return new Builder(defaults);
}
@CustomType.Builder
public static final class Builder {
private @Nullable CloudWatchLogsConfigResponse cloudWatchLogs;
private @Nullable S3LogsConfigResponse s3Logs;
public Builder() {}
public Builder(LogsConfigResponse defaults) {
Objects.requireNonNull(defaults);
this.cloudWatchLogs = defaults.cloudWatchLogs;
this.s3Logs = defaults.s3Logs;
}
@CustomType.Setter
public Builder cloudWatchLogs(@Nullable CloudWatchLogsConfigResponse cloudWatchLogs) {
this.cloudWatchLogs = cloudWatchLogs;
return this;
}
@CustomType.Setter
public Builder s3Logs(@Nullable S3LogsConfigResponse s3Logs) {
this.s3Logs = s3Logs;
return this;
}
public LogsConfigResponse build() {
final var _resultValue = new LogsConfigResponse();
_resultValue.cloudWatchLogs = cloudWatchLogs;
_resultValue.s3Logs = s3Logs;
return _resultValue;
}
}
}
© 2015 - 2025 Weber Informatics LLC | Privacy Policy