com.pulumi.aws.cloudwatch.inputs.GetLogDataProtectionPolicyDocumentStatementOperationAuditFindingsDestinationS3Args Maven / Gradle / Ivy
// *** 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.cloudwatch.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 GetLogDataProtectionPolicyDocumentStatementOperationAuditFindingsDestinationS3Args extends com.pulumi.resources.ResourceArgs {
public static final GetLogDataProtectionPolicyDocumentStatementOperationAuditFindingsDestinationS3Args Empty = new GetLogDataProtectionPolicyDocumentStatementOperationAuditFindingsDestinationS3Args();
/**
* Name of the S3 Bucket to send findings to.
*
*/
@Import(name="bucket", required=true)
private Output bucket;
/**
* @return Name of the S3 Bucket to send findings to.
*
*/
public Output bucket() {
return this.bucket;
}
private GetLogDataProtectionPolicyDocumentStatementOperationAuditFindingsDestinationS3Args() {}
private GetLogDataProtectionPolicyDocumentStatementOperationAuditFindingsDestinationS3Args(GetLogDataProtectionPolicyDocumentStatementOperationAuditFindingsDestinationS3Args $) {
this.bucket = $.bucket;
}
public static Builder builder() {
return new Builder();
}
public static Builder builder(GetLogDataProtectionPolicyDocumentStatementOperationAuditFindingsDestinationS3Args defaults) {
return new Builder(defaults);
}
public static final class Builder {
private GetLogDataProtectionPolicyDocumentStatementOperationAuditFindingsDestinationS3Args $;
public Builder() {
$ = new GetLogDataProtectionPolicyDocumentStatementOperationAuditFindingsDestinationS3Args();
}
public Builder(GetLogDataProtectionPolicyDocumentStatementOperationAuditFindingsDestinationS3Args defaults) {
$ = new GetLogDataProtectionPolicyDocumentStatementOperationAuditFindingsDestinationS3Args(Objects.requireNonNull(defaults));
}
/**
* @param bucket Name of the S3 Bucket to send findings to.
*
* @return builder
*
*/
public Builder bucket(Output bucket) {
$.bucket = bucket;
return this;
}
/**
* @param bucket Name of the S3 Bucket to send findings to.
*
* @return builder
*
*/
public Builder bucket(String bucket) {
return bucket(Output.of(bucket));
}
public GetLogDataProtectionPolicyDocumentStatementOperationAuditFindingsDestinationS3Args build() {
if ($.bucket == null) {
throw new MissingRequiredPropertyException("GetLogDataProtectionPolicyDocumentStatementOperationAuditFindingsDestinationS3Args", "bucket");
}
return $;
}
}
}
© 2015 - 2025 Weber Informatics LLC | Privacy Policy