
com.pulumi.azurenative.security.outputs.GetCustomAssessmentAutomationResult 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.azurenative.security.outputs;
import com.pulumi.azurenative.security.outputs.SystemDataResponse;
import com.pulumi.core.annotations.CustomType;
import com.pulumi.exceptions.MissingRequiredPropertyException;
import java.lang.String;
import java.util.Objects;
import java.util.Optional;
import javax.annotation.Nullable;
@CustomType
public final class GetCustomAssessmentAutomationResult {
/**
* @return The assessment metadata key used when an assessment is generated for this assessment automation.
*
*/
private @Nullable String assessmentKey;
/**
* @return GZip encoded KQL query representing the assessment automation results required.
*
*/
private @Nullable String compressedQuery;
/**
* @return The description to relate to the assessments generated by this assessment automation.
*
*/
private @Nullable String description;
/**
* @return The display name of the assessments generated by this assessment automation.
*
*/
private @Nullable String displayName;
/**
* @return Resource Id
*
*/
private String id;
/**
* @return Resource name
*
*/
private String name;
/**
* @return The remediation description to relate to the assessments generated by this assessment automation.
*
*/
private @Nullable String remediationDescription;
/**
* @return The severity to relate to the assessments generated by this assessment automation.
*
*/
private @Nullable String severity;
/**
* @return Relevant cloud for the custom assessment automation.
*
*/
private @Nullable String supportedCloud;
/**
* @return Azure Resource Manager metadata containing createdBy and modifiedBy information.
*
*/
private SystemDataResponse systemData;
/**
* @return Resource type
*
*/
private String type;
private GetCustomAssessmentAutomationResult() {}
/**
* @return The assessment metadata key used when an assessment is generated for this assessment automation.
*
*/
public Optional assessmentKey() {
return Optional.ofNullable(this.assessmentKey);
}
/**
* @return GZip encoded KQL query representing the assessment automation results required.
*
*/
public Optional compressedQuery() {
return Optional.ofNullable(this.compressedQuery);
}
/**
* @return The description to relate to the assessments generated by this assessment automation.
*
*/
public Optional description() {
return Optional.ofNullable(this.description);
}
/**
* @return The display name of the assessments generated by this assessment automation.
*
*/
public Optional displayName() {
return Optional.ofNullable(this.displayName);
}
/**
* @return Resource Id
*
*/
public String id() {
return this.id;
}
/**
* @return Resource name
*
*/
public String name() {
return this.name;
}
/**
* @return The remediation description to relate to the assessments generated by this assessment automation.
*
*/
public Optional remediationDescription() {
return Optional.ofNullable(this.remediationDescription);
}
/**
* @return The severity to relate to the assessments generated by this assessment automation.
*
*/
public Optional severity() {
return Optional.ofNullable(this.severity);
}
/**
* @return Relevant cloud for the custom assessment automation.
*
*/
public Optional supportedCloud() {
return Optional.ofNullable(this.supportedCloud);
}
/**
* @return Azure Resource Manager metadata containing createdBy and modifiedBy information.
*
*/
public SystemDataResponse systemData() {
return this.systemData;
}
/**
* @return Resource type
*
*/
public String type() {
return this.type;
}
public static Builder builder() {
return new Builder();
}
public static Builder builder(GetCustomAssessmentAutomationResult defaults) {
return new Builder(defaults);
}
@CustomType.Builder
public static final class Builder {
private @Nullable String assessmentKey;
private @Nullable String compressedQuery;
private @Nullable String description;
private @Nullable String displayName;
private String id;
private String name;
private @Nullable String remediationDescription;
private @Nullable String severity;
private @Nullable String supportedCloud;
private SystemDataResponse systemData;
private String type;
public Builder() {}
public Builder(GetCustomAssessmentAutomationResult defaults) {
Objects.requireNonNull(defaults);
this.assessmentKey = defaults.assessmentKey;
this.compressedQuery = defaults.compressedQuery;
this.description = defaults.description;
this.displayName = defaults.displayName;
this.id = defaults.id;
this.name = defaults.name;
this.remediationDescription = defaults.remediationDescription;
this.severity = defaults.severity;
this.supportedCloud = defaults.supportedCloud;
this.systemData = defaults.systemData;
this.type = defaults.type;
}
@CustomType.Setter
public Builder assessmentKey(@Nullable String assessmentKey) {
this.assessmentKey = assessmentKey;
return this;
}
@CustomType.Setter
public Builder compressedQuery(@Nullable String compressedQuery) {
this.compressedQuery = compressedQuery;
return this;
}
@CustomType.Setter
public Builder description(@Nullable String description) {
this.description = description;
return this;
}
@CustomType.Setter
public Builder displayName(@Nullable String displayName) {
this.displayName = displayName;
return this;
}
@CustomType.Setter
public Builder id(String id) {
if (id == null) {
throw new MissingRequiredPropertyException("GetCustomAssessmentAutomationResult", "id");
}
this.id = id;
return this;
}
@CustomType.Setter
public Builder name(String name) {
if (name == null) {
throw new MissingRequiredPropertyException("GetCustomAssessmentAutomationResult", "name");
}
this.name = name;
return this;
}
@CustomType.Setter
public Builder remediationDescription(@Nullable String remediationDescription) {
this.remediationDescription = remediationDescription;
return this;
}
@CustomType.Setter
public Builder severity(@Nullable String severity) {
this.severity = severity;
return this;
}
@CustomType.Setter
public Builder supportedCloud(@Nullable String supportedCloud) {
this.supportedCloud = supportedCloud;
return this;
}
@CustomType.Setter
public Builder systemData(SystemDataResponse systemData) {
if (systemData == null) {
throw new MissingRequiredPropertyException("GetCustomAssessmentAutomationResult", "systemData");
}
this.systemData = systemData;
return this;
}
@CustomType.Setter
public Builder type(String type) {
if (type == null) {
throw new MissingRequiredPropertyException("GetCustomAssessmentAutomationResult", "type");
}
this.type = type;
return this;
}
public GetCustomAssessmentAutomationResult build() {
final var _resultValue = new GetCustomAssessmentAutomationResult();
_resultValue.assessmentKey = assessmentKey;
_resultValue.compressedQuery = compressedQuery;
_resultValue.description = description;
_resultValue.displayName = displayName;
_resultValue.id = id;
_resultValue.name = name;
_resultValue.remediationDescription = remediationDescription;
_resultValue.severity = severity;
_resultValue.supportedCloud = supportedCloud;
_resultValue.systemData = systemData;
_resultValue.type = type;
return _resultValue;
}
}
}
© 2015 - 2025 Weber Informatics LLC | Privacy Policy