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

com.pulumi.azurenative.awsconnector.outputs.AddOnResponse Maven / Gradle / Ivy

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

import com.pulumi.azurenative.awsconnector.outputs.AutoSnapshotAddOnResponse;
import com.pulumi.core.annotations.CustomType;
import java.lang.String;
import java.util.Objects;
import java.util.Optional;
import javax.annotation.Nullable;

@CustomType
public final class AddOnResponse {
    /**
     * @return The add-on type
     * 
     */
    private @Nullable String addOnType;
    /**
     * @return An object that represents additional parameters when enabling or modifying the automatic snapshot add-on
     * 
     */
    private @Nullable AutoSnapshotAddOnResponse autoSnapshotAddOnRequest;
    /**
     * @return Status of the Addon
     * 
     */
    private @Nullable String status;

    private AddOnResponse() {}
    /**
     * @return The add-on type
     * 
     */
    public Optional addOnType() {
        return Optional.ofNullable(this.addOnType);
    }
    /**
     * @return An object that represents additional parameters when enabling or modifying the automatic snapshot add-on
     * 
     */
    public Optional autoSnapshotAddOnRequest() {
        return Optional.ofNullable(this.autoSnapshotAddOnRequest);
    }
    /**
     * @return Status of the Addon
     * 
     */
    public Optional status() {
        return Optional.ofNullable(this.status);
    }

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

    public static Builder builder(AddOnResponse defaults) {
        return new Builder(defaults);
    }
    @CustomType.Builder
    public static final class Builder {
        private @Nullable String addOnType;
        private @Nullable AutoSnapshotAddOnResponse autoSnapshotAddOnRequest;
        private @Nullable String status;
        public Builder() {}
        public Builder(AddOnResponse defaults) {
    	      Objects.requireNonNull(defaults);
    	      this.addOnType = defaults.addOnType;
    	      this.autoSnapshotAddOnRequest = defaults.autoSnapshotAddOnRequest;
    	      this.status = defaults.status;
        }

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

            this.addOnType = addOnType;
            return this;
        }
        @CustomType.Setter
        public Builder autoSnapshotAddOnRequest(@Nullable AutoSnapshotAddOnResponse autoSnapshotAddOnRequest) {

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

            this.status = status;
            return this;
        }
        public AddOnResponse build() {
            final var _resultValue = new AddOnResponse();
            _resultValue.addOnType = addOnType;
            _resultValue.autoSnapshotAddOnRequest = autoSnapshotAddOnRequest;
            _resultValue.status = status;
            return _resultValue;
        }
    }
}




© 2015 - 2025 Weber Informatics LLC | Privacy Policy