
com.pulumi.aws.auditmanager.outputs.AssessmentAssessmentReportsDestination 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.auditmanager.outputs;
import com.pulumi.core.annotations.CustomType;
import com.pulumi.exceptions.MissingRequiredPropertyException;
import java.lang.String;
import java.util.Objects;
@CustomType
public final class AssessmentAssessmentReportsDestination {
/**
* @return Destination of the assessment report. This value be in the form `s3://{bucket_name}`.
*
*/
private String destination;
/**
* @return Destination type. Currently, `S3` is the only valid value.
*
*/
private String destinationType;
private AssessmentAssessmentReportsDestination() {}
/**
* @return Destination of the assessment report. This value be in the form `s3://{bucket_name}`.
*
*/
public String destination() {
return this.destination;
}
/**
* @return Destination type. Currently, `S3` is the only valid value.
*
*/
public String destinationType() {
return this.destinationType;
}
public static Builder builder() {
return new Builder();
}
public static Builder builder(AssessmentAssessmentReportsDestination defaults) {
return new Builder(defaults);
}
@CustomType.Builder
public static final class Builder {
private String destination;
private String destinationType;
public Builder() {}
public Builder(AssessmentAssessmentReportsDestination defaults) {
Objects.requireNonNull(defaults);
this.destination = defaults.destination;
this.destinationType = defaults.destinationType;
}
@CustomType.Setter
public Builder destination(String destination) {
if (destination == null) {
throw new MissingRequiredPropertyException("AssessmentAssessmentReportsDestination", "destination");
}
this.destination = destination;
return this;
}
@CustomType.Setter
public Builder destinationType(String destinationType) {
if (destinationType == null) {
throw new MissingRequiredPropertyException("AssessmentAssessmentReportsDestination", "destinationType");
}
this.destinationType = destinationType;
return this;
}
public AssessmentAssessmentReportsDestination build() {
final var _resultValue = new AssessmentAssessmentReportsDestination();
_resultValue.destination = destination;
_resultValue.destinationType = destinationType;
return _resultValue;
}
}
}
© 2015 - 2025 Weber Informatics LLC | Privacy Policy