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

com.pulumi.azurenative.offazure.outputs.SiteAgentPropertiesResponse Maven / Gradle / Ivy

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

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

@CustomType
public final class SiteAgentPropertiesResponse {
    /**
     * @return Gets the ID of the agent.
     * 
     */
    private String id;
    /**
     * @return Gets or sets the key vault ARM Id.
     * 
     */
    private @Nullable String keyVaultId;
    /**
     * @return Gets or sets the key vault URI.
     * 
     */
    private @Nullable String keyVaultUri;
    /**
     * @return Gets the last heartbeat time of the agent in UTC.
     * 
     */
    private String lastHeartBeatUtc;
    /**
     * @return Gets the version of the agent.
     * 
     */
    private String version;

    private SiteAgentPropertiesResponse() {}
    /**
     * @return Gets the ID of the agent.
     * 
     */
    public String id() {
        return this.id;
    }
    /**
     * @return Gets or sets the key vault ARM Id.
     * 
     */
    public Optional keyVaultId() {
        return Optional.ofNullable(this.keyVaultId);
    }
    /**
     * @return Gets or sets the key vault URI.
     * 
     */
    public Optional keyVaultUri() {
        return Optional.ofNullable(this.keyVaultUri);
    }
    /**
     * @return Gets the last heartbeat time of the agent in UTC.
     * 
     */
    public String lastHeartBeatUtc() {
        return this.lastHeartBeatUtc;
    }
    /**
     * @return Gets the version of the agent.
     * 
     */
    public String version() {
        return this.version;
    }

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

    public static Builder builder(SiteAgentPropertiesResponse defaults) {
        return new Builder(defaults);
    }
    @CustomType.Builder
    public static final class Builder {
        private String id;
        private @Nullable String keyVaultId;
        private @Nullable String keyVaultUri;
        private String lastHeartBeatUtc;
        private String version;
        public Builder() {}
        public Builder(SiteAgentPropertiesResponse defaults) {
    	      Objects.requireNonNull(defaults);
    	      this.id = defaults.id;
    	      this.keyVaultId = defaults.keyVaultId;
    	      this.keyVaultUri = defaults.keyVaultUri;
    	      this.lastHeartBeatUtc = defaults.lastHeartBeatUtc;
    	      this.version = defaults.version;
        }

        @CustomType.Setter
        public Builder id(String id) {
            if (id == null) {
              throw new MissingRequiredPropertyException("SiteAgentPropertiesResponse", "id");
            }
            this.id = id;
            return this;
        }
        @CustomType.Setter
        public Builder keyVaultId(@Nullable String keyVaultId) {

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

            this.keyVaultUri = keyVaultUri;
            return this;
        }
        @CustomType.Setter
        public Builder lastHeartBeatUtc(String lastHeartBeatUtc) {
            if (lastHeartBeatUtc == null) {
              throw new MissingRequiredPropertyException("SiteAgentPropertiesResponse", "lastHeartBeatUtc");
            }
            this.lastHeartBeatUtc = lastHeartBeatUtc;
            return this;
        }
        @CustomType.Setter
        public Builder version(String version) {
            if (version == null) {
              throw new MissingRequiredPropertyException("SiteAgentPropertiesResponse", "version");
            }
            this.version = version;
            return this;
        }
        public SiteAgentPropertiesResponse build() {
            final var _resultValue = new SiteAgentPropertiesResponse();
            _resultValue.id = id;
            _resultValue.keyVaultId = keyVaultId;
            _resultValue.keyVaultUri = keyVaultUri;
            _resultValue.lastHeartBeatUtc = lastHeartBeatUtc;
            _resultValue.version = version;
            return _resultValue;
        }
    }
}




© 2015 - 2025 Weber Informatics LLC | Privacy Policy