com.pulumi.azurenative.networkcloud.outputs.RuntimeProtectionStatusResponse 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.networkcloud.outputs;
import com.pulumi.core.annotations.CustomType;
import com.pulumi.exceptions.MissingRequiredPropertyException;
import java.lang.String;
import java.util.Objects;
@CustomType
public final class RuntimeProtectionStatusResponse {
/**
* @return The timestamp when the malware definitions were last updated.
*
*/
private String definitionsLastUpdated;
/**
* @return The version of the malware definitions.
*
*/
private String definitionsVersion;
/**
* @return The timestamp of the most recently completed scan, or empty if there has never been a scan.
*
*/
private String scanCompletedTime;
/**
* @return The timestamp of the most recently scheduled scan, or empty if no scan has been scheduled.
*
*/
private String scanScheduledTime;
/**
* @return The timestamp of the most recently started scan, or empty if there has never been a scan.
*
*/
private String scanStartedTime;
private RuntimeProtectionStatusResponse() {}
/**
* @return The timestamp when the malware definitions were last updated.
*
*/
public String definitionsLastUpdated() {
return this.definitionsLastUpdated;
}
/**
* @return The version of the malware definitions.
*
*/
public String definitionsVersion() {
return this.definitionsVersion;
}
/**
* @return The timestamp of the most recently completed scan, or empty if there has never been a scan.
*
*/
public String scanCompletedTime() {
return this.scanCompletedTime;
}
/**
* @return The timestamp of the most recently scheduled scan, or empty if no scan has been scheduled.
*
*/
public String scanScheduledTime() {
return this.scanScheduledTime;
}
/**
* @return The timestamp of the most recently started scan, or empty if there has never been a scan.
*
*/
public String scanStartedTime() {
return this.scanStartedTime;
}
public static Builder builder() {
return new Builder();
}
public static Builder builder(RuntimeProtectionStatusResponse defaults) {
return new Builder(defaults);
}
@CustomType.Builder
public static final class Builder {
private String definitionsLastUpdated;
private String definitionsVersion;
private String scanCompletedTime;
private String scanScheduledTime;
private String scanStartedTime;
public Builder() {}
public Builder(RuntimeProtectionStatusResponse defaults) {
Objects.requireNonNull(defaults);
this.definitionsLastUpdated = defaults.definitionsLastUpdated;
this.definitionsVersion = defaults.definitionsVersion;
this.scanCompletedTime = defaults.scanCompletedTime;
this.scanScheduledTime = defaults.scanScheduledTime;
this.scanStartedTime = defaults.scanStartedTime;
}
@CustomType.Setter
public Builder definitionsLastUpdated(String definitionsLastUpdated) {
if (definitionsLastUpdated == null) {
throw new MissingRequiredPropertyException("RuntimeProtectionStatusResponse", "definitionsLastUpdated");
}
this.definitionsLastUpdated = definitionsLastUpdated;
return this;
}
@CustomType.Setter
public Builder definitionsVersion(String definitionsVersion) {
if (definitionsVersion == null) {
throw new MissingRequiredPropertyException("RuntimeProtectionStatusResponse", "definitionsVersion");
}
this.definitionsVersion = definitionsVersion;
return this;
}
@CustomType.Setter
public Builder scanCompletedTime(String scanCompletedTime) {
if (scanCompletedTime == null) {
throw new MissingRequiredPropertyException("RuntimeProtectionStatusResponse", "scanCompletedTime");
}
this.scanCompletedTime = scanCompletedTime;
return this;
}
@CustomType.Setter
public Builder scanScheduledTime(String scanScheduledTime) {
if (scanScheduledTime == null) {
throw new MissingRequiredPropertyException("RuntimeProtectionStatusResponse", "scanScheduledTime");
}
this.scanScheduledTime = scanScheduledTime;
return this;
}
@CustomType.Setter
public Builder scanStartedTime(String scanStartedTime) {
if (scanStartedTime == null) {
throw new MissingRequiredPropertyException("RuntimeProtectionStatusResponse", "scanStartedTime");
}
this.scanStartedTime = scanStartedTime;
return this;
}
public RuntimeProtectionStatusResponse build() {
final var _resultValue = new RuntimeProtectionStatusResponse();
_resultValue.definitionsLastUpdated = definitionsLastUpdated;
_resultValue.definitionsVersion = definitionsVersion;
_resultValue.scanCompletedTime = scanCompletedTime;
_resultValue.scanScheduledTime = scanScheduledTime;
_resultValue.scanStartedTime = scanStartedTime;
return _resultValue;
}
}
}
© 2015 - 2024 Weber Informatics LLC | Privacy Policy