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

com.pulumi.azurenative.recoveryservices.outputs.InMageRcmFailbackPolicyDetailsResponse Maven / Gradle / Ivy

There is a newer version: 2.72.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.recoveryservices.outputs;

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

@CustomType
public final class InMageRcmFailbackPolicyDetailsResponse {
    /**
     * @return The app consistent snapshot frequency in minutes.
     * 
     */
    private @Nullable Integer appConsistentFrequencyInMinutes;
    /**
     * @return The crash consistent snapshot frequency in minutes.
     * 
     */
    private @Nullable Integer crashConsistentFrequencyInMinutes;
    /**
     * @return Gets the class type. Overridden in derived classes.
     * Expected value is 'InMageRcmFailback'.
     * 
     */
    private String instanceType;

    private InMageRcmFailbackPolicyDetailsResponse() {}
    /**
     * @return The app consistent snapshot frequency in minutes.
     * 
     */
    public Optional appConsistentFrequencyInMinutes() {
        return Optional.ofNullable(this.appConsistentFrequencyInMinutes);
    }
    /**
     * @return The crash consistent snapshot frequency in minutes.
     * 
     */
    public Optional crashConsistentFrequencyInMinutes() {
        return Optional.ofNullable(this.crashConsistentFrequencyInMinutes);
    }
    /**
     * @return Gets the class type. Overridden in derived classes.
     * Expected value is 'InMageRcmFailback'.
     * 
     */
    public String instanceType() {
        return this.instanceType;
    }

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

    public static Builder builder(InMageRcmFailbackPolicyDetailsResponse defaults) {
        return new Builder(defaults);
    }
    @CustomType.Builder
    public static final class Builder {
        private @Nullable Integer appConsistentFrequencyInMinutes;
        private @Nullable Integer crashConsistentFrequencyInMinutes;
        private String instanceType;
        public Builder() {}
        public Builder(InMageRcmFailbackPolicyDetailsResponse defaults) {
    	      Objects.requireNonNull(defaults);
    	      this.appConsistentFrequencyInMinutes = defaults.appConsistentFrequencyInMinutes;
    	      this.crashConsistentFrequencyInMinutes = defaults.crashConsistentFrequencyInMinutes;
    	      this.instanceType = defaults.instanceType;
        }

        @CustomType.Setter
        public Builder appConsistentFrequencyInMinutes(@Nullable Integer appConsistentFrequencyInMinutes) {

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

            this.crashConsistentFrequencyInMinutes = crashConsistentFrequencyInMinutes;
            return this;
        }
        @CustomType.Setter
        public Builder instanceType(String instanceType) {
            if (instanceType == null) {
              throw new MissingRequiredPropertyException("InMageRcmFailbackPolicyDetailsResponse", "instanceType");
            }
            this.instanceType = instanceType;
            return this;
        }
        public InMageRcmFailbackPolicyDetailsResponse build() {
            final var _resultValue = new InMageRcmFailbackPolicyDetailsResponse();
            _resultValue.appConsistentFrequencyInMinutes = appConsistentFrequencyInMinutes;
            _resultValue.crashConsistentFrequencyInMinutes = crashConsistentFrequencyInMinutes;
            _resultValue.instanceType = instanceType;
            return _resultValue;
        }
    }
}




© 2015 - 2024 Weber Informatics LLC | Privacy Policy