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

com.pulumi.azurenative.delegatednetwork.outputs.GetOrchestratorInstanceServiceDetailsResult Maven / Gradle / Ivy

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

import com.pulumi.azurenative.delegatednetwork.outputs.ControllerDetailsResponse;
import com.pulumi.azurenative.delegatednetwork.outputs.OrchestratorIdentityResponse;
import com.pulumi.core.annotations.CustomType;
import com.pulumi.exceptions.MissingRequiredPropertyException;
import java.lang.String;
import java.util.Map;
import java.util.Objects;
import java.util.Optional;
import javax.annotation.Nullable;

@CustomType
public final class GetOrchestratorInstanceServiceDetailsResult {
    /**
     * @return K8s APIServer url. Either one of apiServerEndpoint or privateLinkResourceId can be specified
     * 
     */
    private @Nullable String apiServerEndpoint;
    /**
     * @return RootCA certificate of kubernetes cluster base64 encoded
     * 
     */
    private @Nullable String clusterRootCA;
    /**
     * @return Properties of the controller.
     * 
     */
    private ControllerDetailsResponse controllerDetails;
    /**
     * @return An identifier that represents the resource.
     * 
     */
    private String id;
    /**
     * @return The identity of the orchestrator
     * 
     */
    private @Nullable OrchestratorIdentityResponse identity;
    /**
     * @return The kind of workbook. Choices are user and shared.
     * 
     */
    private String kind;
    /**
     * @return Location of the resource.
     * 
     */
    private @Nullable String location;
    /**
     * @return The name of the resource.
     * 
     */
    private String name;
    /**
     * @return AAD ID used with apiserver
     * 
     */
    private @Nullable String orchestratorAppId;
    /**
     * @return TenantID of server App ID
     * 
     */
    private @Nullable String orchestratorTenantId;
    /**
     * @return private link arm resource id. Either one of apiServerEndpoint or privateLinkResourceId can be specified
     * 
     */
    private @Nullable String privateLinkResourceId;
    /**
     * @return The current state of orchestratorInstance resource.
     * 
     */
    private String provisioningState;
    /**
     * @return Resource guid.
     * 
     */
    private String resourceGuid;
    /**
     * @return The resource tags.
     * 
     */
    private @Nullable Map tags;
    /**
     * @return The type of resource.
     * 
     */
    private String type;

    private GetOrchestratorInstanceServiceDetailsResult() {}
    /**
     * @return K8s APIServer url. Either one of apiServerEndpoint or privateLinkResourceId can be specified
     * 
     */
    public Optional apiServerEndpoint() {
        return Optional.ofNullable(this.apiServerEndpoint);
    }
    /**
     * @return RootCA certificate of kubernetes cluster base64 encoded
     * 
     */
    public Optional clusterRootCA() {
        return Optional.ofNullable(this.clusterRootCA);
    }
    /**
     * @return Properties of the controller.
     * 
     */
    public ControllerDetailsResponse controllerDetails() {
        return this.controllerDetails;
    }
    /**
     * @return An identifier that represents the resource.
     * 
     */
    public String id() {
        return this.id;
    }
    /**
     * @return The identity of the orchestrator
     * 
     */
    public Optional identity() {
        return Optional.ofNullable(this.identity);
    }
    /**
     * @return The kind of workbook. Choices are user and shared.
     * 
     */
    public String kind() {
        return this.kind;
    }
    /**
     * @return Location of the resource.
     * 
     */
    public Optional location() {
        return Optional.ofNullable(this.location);
    }
    /**
     * @return The name of the resource.
     * 
     */
    public String name() {
        return this.name;
    }
    /**
     * @return AAD ID used with apiserver
     * 
     */
    public Optional orchestratorAppId() {
        return Optional.ofNullable(this.orchestratorAppId);
    }
    /**
     * @return TenantID of server App ID
     * 
     */
    public Optional orchestratorTenantId() {
        return Optional.ofNullable(this.orchestratorTenantId);
    }
    /**
     * @return private link arm resource id. Either one of apiServerEndpoint or privateLinkResourceId can be specified
     * 
     */
    public Optional privateLinkResourceId() {
        return Optional.ofNullable(this.privateLinkResourceId);
    }
    /**
     * @return The current state of orchestratorInstance resource.
     * 
     */
    public String provisioningState() {
        return this.provisioningState;
    }
    /**
     * @return Resource guid.
     * 
     */
    public String resourceGuid() {
        return this.resourceGuid;
    }
    /**
     * @return The resource tags.
     * 
     */
    public Map tags() {
        return this.tags == null ? Map.of() : this.tags;
    }
    /**
     * @return The type of resource.
     * 
     */
    public String type() {
        return this.type;
    }

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

    public static Builder builder(GetOrchestratorInstanceServiceDetailsResult defaults) {
        return new Builder(defaults);
    }
    @CustomType.Builder
    public static final class Builder {
        private @Nullable String apiServerEndpoint;
        private @Nullable String clusterRootCA;
        private ControllerDetailsResponse controllerDetails;
        private String id;
        private @Nullable OrchestratorIdentityResponse identity;
        private String kind;
        private @Nullable String location;
        private String name;
        private @Nullable String orchestratorAppId;
        private @Nullable String orchestratorTenantId;
        private @Nullable String privateLinkResourceId;
        private String provisioningState;
        private String resourceGuid;
        private @Nullable Map tags;
        private String type;
        public Builder() {}
        public Builder(GetOrchestratorInstanceServiceDetailsResult defaults) {
    	      Objects.requireNonNull(defaults);
    	      this.apiServerEndpoint = defaults.apiServerEndpoint;
    	      this.clusterRootCA = defaults.clusterRootCA;
    	      this.controllerDetails = defaults.controllerDetails;
    	      this.id = defaults.id;
    	      this.identity = defaults.identity;
    	      this.kind = defaults.kind;
    	      this.location = defaults.location;
    	      this.name = defaults.name;
    	      this.orchestratorAppId = defaults.orchestratorAppId;
    	      this.orchestratorTenantId = defaults.orchestratorTenantId;
    	      this.privateLinkResourceId = defaults.privateLinkResourceId;
    	      this.provisioningState = defaults.provisioningState;
    	      this.resourceGuid = defaults.resourceGuid;
    	      this.tags = defaults.tags;
    	      this.type = defaults.type;
        }

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

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

            this.clusterRootCA = clusterRootCA;
            return this;
        }
        @CustomType.Setter
        public Builder controllerDetails(ControllerDetailsResponse controllerDetails) {
            if (controllerDetails == null) {
              throw new MissingRequiredPropertyException("GetOrchestratorInstanceServiceDetailsResult", "controllerDetails");
            }
            this.controllerDetails = controllerDetails;
            return this;
        }
        @CustomType.Setter
        public Builder id(String id) {
            if (id == null) {
              throw new MissingRequiredPropertyException("GetOrchestratorInstanceServiceDetailsResult", "id");
            }
            this.id = id;
            return this;
        }
        @CustomType.Setter
        public Builder identity(@Nullable OrchestratorIdentityResponse identity) {

            this.identity = identity;
            return this;
        }
        @CustomType.Setter
        public Builder kind(String kind) {
            if (kind == null) {
              throw new MissingRequiredPropertyException("GetOrchestratorInstanceServiceDetailsResult", "kind");
            }
            this.kind = kind;
            return this;
        }
        @CustomType.Setter
        public Builder location(@Nullable String location) {

            this.location = location;
            return this;
        }
        @CustomType.Setter
        public Builder name(String name) {
            if (name == null) {
              throw new MissingRequiredPropertyException("GetOrchestratorInstanceServiceDetailsResult", "name");
            }
            this.name = name;
            return this;
        }
        @CustomType.Setter
        public Builder orchestratorAppId(@Nullable String orchestratorAppId) {

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

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

            this.privateLinkResourceId = privateLinkResourceId;
            return this;
        }
        @CustomType.Setter
        public Builder provisioningState(String provisioningState) {
            if (provisioningState == null) {
              throw new MissingRequiredPropertyException("GetOrchestratorInstanceServiceDetailsResult", "provisioningState");
            }
            this.provisioningState = provisioningState;
            return this;
        }
        @CustomType.Setter
        public Builder resourceGuid(String resourceGuid) {
            if (resourceGuid == null) {
              throw new MissingRequiredPropertyException("GetOrchestratorInstanceServiceDetailsResult", "resourceGuid");
            }
            this.resourceGuid = resourceGuid;
            return this;
        }
        @CustomType.Setter
        public Builder tags(@Nullable Map tags) {

            this.tags = tags;
            return this;
        }
        @CustomType.Setter
        public Builder type(String type) {
            if (type == null) {
              throw new MissingRequiredPropertyException("GetOrchestratorInstanceServiceDetailsResult", "type");
            }
            this.type = type;
            return this;
        }
        public GetOrchestratorInstanceServiceDetailsResult build() {
            final var _resultValue = new GetOrchestratorInstanceServiceDetailsResult();
            _resultValue.apiServerEndpoint = apiServerEndpoint;
            _resultValue.clusterRootCA = clusterRootCA;
            _resultValue.controllerDetails = controllerDetails;
            _resultValue.id = id;
            _resultValue.identity = identity;
            _resultValue.kind = kind;
            _resultValue.location = location;
            _resultValue.name = name;
            _resultValue.orchestratorAppId = orchestratorAppId;
            _resultValue.orchestratorTenantId = orchestratorTenantId;
            _resultValue.privateLinkResourceId = privateLinkResourceId;
            _resultValue.provisioningState = provisioningState;
            _resultValue.resourceGuid = resourceGuid;
            _resultValue.tags = tags;
            _resultValue.type = type;
            return _resultValue;
        }
    }
}




© 2015 - 2024 Weber Informatics LLC | Privacy Policy