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

com.pulumi.googlenative.managedidentities.v1alpha1.inputs.GetBackupArgs 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.googlenative.managedidentities.v1alpha1.inputs;

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


public final class GetBackupArgs extends com.pulumi.resources.InvokeArgs {

    public static final GetBackupArgs Empty = new GetBackupArgs();

    @Import(name="backupId", required=true)
    private Output backupId;

    public Output backupId() {
        return this.backupId;
    }

    @Import(name="domainId", required=true)
    private Output domainId;

    public Output domainId() {
        return this.domainId;
    }

    @Import(name="project")
    private @Nullable Output project;

    public Optional> project() {
        return Optional.ofNullable(this.project);
    }

    private GetBackupArgs() {}

    private GetBackupArgs(GetBackupArgs $) {
        this.backupId = $.backupId;
        this.domainId = $.domainId;
        this.project = $.project;
    }

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

    public static final class Builder {
        private GetBackupArgs $;

        public Builder() {
            $ = new GetBackupArgs();
        }

        public Builder(GetBackupArgs defaults) {
            $ = new GetBackupArgs(Objects.requireNonNull(defaults));
        }

        public Builder backupId(Output backupId) {
            $.backupId = backupId;
            return this;
        }

        public Builder backupId(String backupId) {
            return backupId(Output.of(backupId));
        }

        public Builder domainId(Output domainId) {
            $.domainId = domainId;
            return this;
        }

        public Builder domainId(String domainId) {
            return domainId(Output.of(domainId));
        }

        public Builder project(@Nullable Output project) {
            $.project = project;
            return this;
        }

        public Builder project(String project) {
            return project(Output.of(project));
        }

        public GetBackupArgs build() {
            $.backupId = Objects.requireNonNull($.backupId, "expected parameter 'backupId' to be non-null");
            $.domainId = Objects.requireNonNull($.domainId, "expected parameter 'domainId' to be non-null");
            return $;
        }
    }

}




© 2015 - 2024 Weber Informatics LLC | Privacy Policy