com.pulumi.scm.outputs.HipObjectAntiMalwareCriteriaLastScanTimeWithin Maven / Gradle / Ivy
Go to download
Show more of this group Show more artifacts with this name
Show all versions of scm Show documentation
Show all versions of scm Show documentation
A Pulumi package for managing resources on Strata Cloud Manager.
// *** 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.scm.outputs;
import com.pulumi.core.annotations.CustomType;
import java.lang.Integer;
import java.util.Objects;
import java.util.Optional;
import javax.annotation.Nullable;
@CustomType
public final class HipObjectAntiMalwareCriteriaLastScanTimeWithin {
/**
* @return specify time in days. Value must be between 1 and 65535. Ensure that only one of the following is specified: `days`, `hours`
*
*/
private @Nullable Integer days;
/**
* @return specify time in hours. Value must be between 1 and 65535. Ensure that only one of the following is specified: `days`, `hours`
*
*/
private @Nullable Integer hours;
private HipObjectAntiMalwareCriteriaLastScanTimeWithin() {}
/**
* @return specify time in days. Value must be between 1 and 65535. Ensure that only one of the following is specified: `days`, `hours`
*
*/
public Optional days() {
return Optional.ofNullable(this.days);
}
/**
* @return specify time in hours. Value must be between 1 and 65535. Ensure that only one of the following is specified: `days`, `hours`
*
*/
public Optional hours() {
return Optional.ofNullable(this.hours);
}
public static Builder builder() {
return new Builder();
}
public static Builder builder(HipObjectAntiMalwareCriteriaLastScanTimeWithin defaults) {
return new Builder(defaults);
}
@CustomType.Builder
public static final class Builder {
private @Nullable Integer days;
private @Nullable Integer hours;
public Builder() {}
public Builder(HipObjectAntiMalwareCriteriaLastScanTimeWithin defaults) {
Objects.requireNonNull(defaults);
this.days = defaults.days;
this.hours = defaults.hours;
}
@CustomType.Setter
public Builder days(@Nullable Integer days) {
this.days = days;
return this;
}
@CustomType.Setter
public Builder hours(@Nullable Integer hours) {
this.hours = hours;
return this;
}
public HipObjectAntiMalwareCriteriaLastScanTimeWithin build() {
final var _resultValue = new HipObjectAntiMalwareCriteriaLastScanTimeWithin();
_resultValue.days = days;
_resultValue.hours = hours;
return _resultValue;
}
}
}
© 2015 - 2025 Weber Informatics LLC | Privacy Policy