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

com.pulumi.azurenative.azurefleet.outputs.ScheduledEventsProfileResponse 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.azurefleet.outputs;

import com.pulumi.azurenative.azurefleet.outputs.OSImageNotificationProfileResponse;
import com.pulumi.azurenative.azurefleet.outputs.TerminateNotificationProfileResponse;
import com.pulumi.core.annotations.CustomType;
import java.util.Objects;
import java.util.Optional;
import javax.annotation.Nullable;

@CustomType
public final class ScheduledEventsProfileResponse {
    /**
     * @return Specifies OS Image Scheduled Event related configurations.
     * 
     */
    private @Nullable OSImageNotificationProfileResponse osImageNotificationProfile;
    /**
     * @return Specifies Terminate Scheduled Event related configurations.
     * 
     */
    private @Nullable TerminateNotificationProfileResponse terminateNotificationProfile;

    private ScheduledEventsProfileResponse() {}
    /**
     * @return Specifies OS Image Scheduled Event related configurations.
     * 
     */
    public Optional osImageNotificationProfile() {
        return Optional.ofNullable(this.osImageNotificationProfile);
    }
    /**
     * @return Specifies Terminate Scheduled Event related configurations.
     * 
     */
    public Optional terminateNotificationProfile() {
        return Optional.ofNullable(this.terminateNotificationProfile);
    }

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

    public static Builder builder(ScheduledEventsProfileResponse defaults) {
        return new Builder(defaults);
    }
    @CustomType.Builder
    public static final class Builder {
        private @Nullable OSImageNotificationProfileResponse osImageNotificationProfile;
        private @Nullable TerminateNotificationProfileResponse terminateNotificationProfile;
        public Builder() {}
        public Builder(ScheduledEventsProfileResponse defaults) {
    	      Objects.requireNonNull(defaults);
    	      this.osImageNotificationProfile = defaults.osImageNotificationProfile;
    	      this.terminateNotificationProfile = defaults.terminateNotificationProfile;
        }

        @CustomType.Setter
        public Builder osImageNotificationProfile(@Nullable OSImageNotificationProfileResponse osImageNotificationProfile) {

            this.osImageNotificationProfile = osImageNotificationProfile;
            return this;
        }
        @CustomType.Setter
        public Builder terminateNotificationProfile(@Nullable TerminateNotificationProfileResponse terminateNotificationProfile) {

            this.terminateNotificationProfile = terminateNotificationProfile;
            return this;
        }
        public ScheduledEventsProfileResponse build() {
            final var _resultValue = new ScheduledEventsProfileResponse();
            _resultValue.osImageNotificationProfile = osImageNotificationProfile;
            _resultValue.terminateNotificationProfile = terminateNotificationProfile;
            return _resultValue;
        }
    }
}




© 2015 - 2025 Weber Informatics LLC | Privacy Policy