All Downloads are FREE. Search and download functionalities are using the official Maven repository.

com.pulumi.azurenative.netapp.outputs.WeeklyScheduleResponse Maven / Gradle / Ivy

There is a newer version: 2.78.0
Show newest version
// *** 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.netapp.outputs;

import com.pulumi.core.annotations.CustomType;
import java.lang.Double;
import java.lang.Integer;
import java.lang.String;
import java.util.Objects;
import java.util.Optional;
import javax.annotation.Nullable;

@CustomType
public final class WeeklyScheduleResponse {
    /**
     * @return Indicates which weekdays snapshot should be taken, accepts a comma separated list of week day names in english
     * 
     */
    private @Nullable String day;
    /**
     * @return Indicates which hour in UTC timezone a snapshot should be taken
     * 
     */
    private @Nullable Integer hour;
    /**
     * @return Indicates which minute snapshot should be taken
     * 
     */
    private @Nullable Integer minute;
    /**
     * @return Weekly snapshot count to keep
     * 
     */
    private @Nullable Integer snapshotsToKeep;
    /**
     * @return Resource size in bytes, current storage usage for the volume in bytes
     * 
     */
    private @Nullable Double usedBytes;

    private WeeklyScheduleResponse() {}
    /**
     * @return Indicates which weekdays snapshot should be taken, accepts a comma separated list of week day names in english
     * 
     */
    public Optional day() {
        return Optional.ofNullable(this.day);
    }
    /**
     * @return Indicates which hour in UTC timezone a snapshot should be taken
     * 
     */
    public Optional hour() {
        return Optional.ofNullable(this.hour);
    }
    /**
     * @return Indicates which minute snapshot should be taken
     * 
     */
    public Optional minute() {
        return Optional.ofNullable(this.minute);
    }
    /**
     * @return Weekly snapshot count to keep
     * 
     */
    public Optional snapshotsToKeep() {
        return Optional.ofNullable(this.snapshotsToKeep);
    }
    /**
     * @return Resource size in bytes, current storage usage for the volume in bytes
     * 
     */
    public Optional usedBytes() {
        return Optional.ofNullable(this.usedBytes);
    }

    public static Builder builder() {
        return new Builder();
    }

    public static Builder builder(WeeklyScheduleResponse defaults) {
        return new Builder(defaults);
    }
    @CustomType.Builder
    public static final class Builder {
        private @Nullable String day;
        private @Nullable Integer hour;
        private @Nullable Integer minute;
        private @Nullable Integer snapshotsToKeep;
        private @Nullable Double usedBytes;
        public Builder() {}
        public Builder(WeeklyScheduleResponse defaults) {
    	      Objects.requireNonNull(defaults);
    	      this.day = defaults.day;
    	      this.hour = defaults.hour;
    	      this.minute = defaults.minute;
    	      this.snapshotsToKeep = defaults.snapshotsToKeep;
    	      this.usedBytes = defaults.usedBytes;
        }

        @CustomType.Setter
        public Builder day(@Nullable String day) {

            this.day = day;
            return this;
        }
        @CustomType.Setter
        public Builder hour(@Nullable Integer hour) {

            this.hour = hour;
            return this;
        }
        @CustomType.Setter
        public Builder minute(@Nullable Integer minute) {

            this.minute = minute;
            return this;
        }
        @CustomType.Setter
        public Builder snapshotsToKeep(@Nullable Integer snapshotsToKeep) {

            this.snapshotsToKeep = snapshotsToKeep;
            return this;
        }
        @CustomType.Setter
        public Builder usedBytes(@Nullable Double usedBytes) {

            this.usedBytes = usedBytes;
            return this;
        }
        public WeeklyScheduleResponse build() {
            final var _resultValue = new WeeklyScheduleResponse();
            _resultValue.day = day;
            _resultValue.hour = hour;
            _resultValue.minute = minute;
            _resultValue.snapshotsToKeep = snapshotsToKeep;
            _resultValue.usedBytes = usedBytes;
            return _resultValue;
        }
    }
}




© 2015 - 2024 Weber Informatics LLC | Privacy Policy