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

com.pulumi.azurenative.compute.outputs.TerminateNotificationProfileResponse 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.compute.outputs;

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

@CustomType
public final class TerminateNotificationProfileResponse {
    /**
     * @return Specifies whether the Terminate Scheduled event is enabled or disabled.
     * 
     */
    private @Nullable Boolean enable;
    /**
     * @return Configurable length of time a Virtual Machine being deleted will have to potentially approve the Terminate Scheduled Event before the event is auto approved (timed out). The configuration must be specified in ISO 8601 format, the default value is 5 minutes (PT5M)
     * 
     */
    private @Nullable String notBeforeTimeout;

    private TerminateNotificationProfileResponse() {}
    /**
     * @return Specifies whether the Terminate Scheduled event is enabled or disabled.
     * 
     */
    public Optional enable() {
        return Optional.ofNullable(this.enable);
    }
    /**
     * @return Configurable length of time a Virtual Machine being deleted will have to potentially approve the Terminate Scheduled Event before the event is auto approved (timed out). The configuration must be specified in ISO 8601 format, the default value is 5 minutes (PT5M)
     * 
     */
    public Optional notBeforeTimeout() {
        return Optional.ofNullable(this.notBeforeTimeout);
    }

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

    public static Builder builder(TerminateNotificationProfileResponse defaults) {
        return new Builder(defaults);
    }
    @CustomType.Builder
    public static final class Builder {
        private @Nullable Boolean enable;
        private @Nullable String notBeforeTimeout;
        public Builder() {}
        public Builder(TerminateNotificationProfileResponse defaults) {
    	      Objects.requireNonNull(defaults);
    	      this.enable = defaults.enable;
    	      this.notBeforeTimeout = defaults.notBeforeTimeout;
        }

        @CustomType.Setter
        public Builder enable(@Nullable Boolean enable) {

            this.enable = enable;
            return this;
        }
        @CustomType.Setter
        public Builder notBeforeTimeout(@Nullable String notBeforeTimeout) {

            this.notBeforeTimeout = notBeforeTimeout;
            return this;
        }
        public TerminateNotificationProfileResponse build() {
            final var _resultValue = new TerminateNotificationProfileResponse();
            _resultValue.enable = enable;
            _resultValue.notBeforeTimeout = notBeforeTimeout;
            return _resultValue;
        }
    }
}




© 2015 - 2025 Weber Informatics LLC | Privacy Policy