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

com.pulumi.azurenative.azuredatatransfer.outputs.ConnectionPropertiesResponse 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.azuredatatransfer.outputs;

import com.pulumi.azurenative.azuredatatransfer.outputs.SchemaResponse;
import com.pulumi.core.annotations.CustomType;
import com.pulumi.exceptions.MissingRequiredPropertyException;
import java.lang.String;
import java.util.List;
import java.util.Objects;
import java.util.Optional;
import javax.annotation.Nullable;

@CustomType
public final class ConnectionPropertiesResponse {
    /**
     * @return Approver of this connection request
     * 
     */
    private String approver;
    /**
     * @return The timestamp that this connection request was submitted at
     * 
     */
    private String dateSubmitted;
    /**
     * @return Direction of data movement
     * 
     */
    private @Nullable String direction;
    /**
     * @return The flow types being requested for this connection
     * 
     */
    private @Nullable List flowTypes;
    /**
     * @return Justification for the connection request
     * 
     */
    private @Nullable String justification;
    /**
     * @return Link status of the current connection
     * 
     */
    private String linkStatus;
    /**
     * @return Resource ID of the linked connection
     * 
     */
    private String linkedConnectionId;
    /**
     * @return PIN to link requests together
     * 
     */
    private @Nullable String pin;
    /**
     * @return Pipeline to use to transfer data
     * 
     */
    private String pipeline;
    /**
     * @return The policies for this connection
     * 
     */
    private @Nullable List policies;
    /**
     * @return The primary contact for this connection request
     * 
     */
    private @Nullable String primaryContact;
    /**
     * @return Provisioning state of the connection
     * 
     */
    private String provisioningState;
    /**
     * @return Subscription ID to link cloud subscriptions together
     * 
     */
    private @Nullable String remoteSubscriptionId;
    /**
     * @return Requirement ID of the connection
     * 
     */
    private @Nullable String requirementId;
    /**
     * @return The schemas for this connection
     * 
     */
    private @Nullable List schemas;
    /**
     * @return The secondary contacts for this connection request
     * 
     */
    private @Nullable List secondaryContacts;
    /**
     * @return Status of the connection
     * 
     */
    private String status;
    /**
     * @return Reason for status
     * 
     */
    private String statusReason;

    private ConnectionPropertiesResponse() {}
    /**
     * @return Approver of this connection request
     * 
     */
    public String approver() {
        return this.approver;
    }
    /**
     * @return The timestamp that this connection request was submitted at
     * 
     */
    public String dateSubmitted() {
        return this.dateSubmitted;
    }
    /**
     * @return Direction of data movement
     * 
     */
    public Optional direction() {
        return Optional.ofNullable(this.direction);
    }
    /**
     * @return The flow types being requested for this connection
     * 
     */
    public List flowTypes() {
        return this.flowTypes == null ? List.of() : this.flowTypes;
    }
    /**
     * @return Justification for the connection request
     * 
     */
    public Optional justification() {
        return Optional.ofNullable(this.justification);
    }
    /**
     * @return Link status of the current connection
     * 
     */
    public String linkStatus() {
        return this.linkStatus;
    }
    /**
     * @return Resource ID of the linked connection
     * 
     */
    public String linkedConnectionId() {
        return this.linkedConnectionId;
    }
    /**
     * @return PIN to link requests together
     * 
     */
    public Optional pin() {
        return Optional.ofNullable(this.pin);
    }
    /**
     * @return Pipeline to use to transfer data
     * 
     */
    public String pipeline() {
        return this.pipeline;
    }
    /**
     * @return The policies for this connection
     * 
     */
    public List policies() {
        return this.policies == null ? List.of() : this.policies;
    }
    /**
     * @return The primary contact for this connection request
     * 
     */
    public Optional primaryContact() {
        return Optional.ofNullable(this.primaryContact);
    }
    /**
     * @return Provisioning state of the connection
     * 
     */
    public String provisioningState() {
        return this.provisioningState;
    }
    /**
     * @return Subscription ID to link cloud subscriptions together
     * 
     */
    public Optional remoteSubscriptionId() {
        return Optional.ofNullable(this.remoteSubscriptionId);
    }
    /**
     * @return Requirement ID of the connection
     * 
     */
    public Optional requirementId() {
        return Optional.ofNullable(this.requirementId);
    }
    /**
     * @return The schemas for this connection
     * 
     */
    public List schemas() {
        return this.schemas == null ? List.of() : this.schemas;
    }
    /**
     * @return The secondary contacts for this connection request
     * 
     */
    public List secondaryContacts() {
        return this.secondaryContacts == null ? List.of() : this.secondaryContacts;
    }
    /**
     * @return Status of the connection
     * 
     */
    public String status() {
        return this.status;
    }
    /**
     * @return Reason for status
     * 
     */
    public String statusReason() {
        return this.statusReason;
    }

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

    public static Builder builder(ConnectionPropertiesResponse defaults) {
        return new Builder(defaults);
    }
    @CustomType.Builder
    public static final class Builder {
        private String approver;
        private String dateSubmitted;
        private @Nullable String direction;
        private @Nullable List flowTypes;
        private @Nullable String justification;
        private String linkStatus;
        private String linkedConnectionId;
        private @Nullable String pin;
        private String pipeline;
        private @Nullable List policies;
        private @Nullable String primaryContact;
        private String provisioningState;
        private @Nullable String remoteSubscriptionId;
        private @Nullable String requirementId;
        private @Nullable List schemas;
        private @Nullable List secondaryContacts;
        private String status;
        private String statusReason;
        public Builder() {}
        public Builder(ConnectionPropertiesResponse defaults) {
    	      Objects.requireNonNull(defaults);
    	      this.approver = defaults.approver;
    	      this.dateSubmitted = defaults.dateSubmitted;
    	      this.direction = defaults.direction;
    	      this.flowTypes = defaults.flowTypes;
    	      this.justification = defaults.justification;
    	      this.linkStatus = defaults.linkStatus;
    	      this.linkedConnectionId = defaults.linkedConnectionId;
    	      this.pin = defaults.pin;
    	      this.pipeline = defaults.pipeline;
    	      this.policies = defaults.policies;
    	      this.primaryContact = defaults.primaryContact;
    	      this.provisioningState = defaults.provisioningState;
    	      this.remoteSubscriptionId = defaults.remoteSubscriptionId;
    	      this.requirementId = defaults.requirementId;
    	      this.schemas = defaults.schemas;
    	      this.secondaryContacts = defaults.secondaryContacts;
    	      this.status = defaults.status;
    	      this.statusReason = defaults.statusReason;
        }

        @CustomType.Setter
        public Builder approver(String approver) {
            if (approver == null) {
              throw new MissingRequiredPropertyException("ConnectionPropertiesResponse", "approver");
            }
            this.approver = approver;
            return this;
        }
        @CustomType.Setter
        public Builder dateSubmitted(String dateSubmitted) {
            if (dateSubmitted == null) {
              throw new MissingRequiredPropertyException("ConnectionPropertiesResponse", "dateSubmitted");
            }
            this.dateSubmitted = dateSubmitted;
            return this;
        }
        @CustomType.Setter
        public Builder direction(@Nullable String direction) {

            this.direction = direction;
            return this;
        }
        @CustomType.Setter
        public Builder flowTypes(@Nullable List flowTypes) {

            this.flowTypes = flowTypes;
            return this;
        }
        public Builder flowTypes(String... flowTypes) {
            return flowTypes(List.of(flowTypes));
        }
        @CustomType.Setter
        public Builder justification(@Nullable String justification) {

            this.justification = justification;
            return this;
        }
        @CustomType.Setter
        public Builder linkStatus(String linkStatus) {
            if (linkStatus == null) {
              throw new MissingRequiredPropertyException("ConnectionPropertiesResponse", "linkStatus");
            }
            this.linkStatus = linkStatus;
            return this;
        }
        @CustomType.Setter
        public Builder linkedConnectionId(String linkedConnectionId) {
            if (linkedConnectionId == null) {
              throw new MissingRequiredPropertyException("ConnectionPropertiesResponse", "linkedConnectionId");
            }
            this.linkedConnectionId = linkedConnectionId;
            return this;
        }
        @CustomType.Setter
        public Builder pin(@Nullable String pin) {

            this.pin = pin;
            return this;
        }
        @CustomType.Setter
        public Builder pipeline(String pipeline) {
            if (pipeline == null) {
              throw new MissingRequiredPropertyException("ConnectionPropertiesResponse", "pipeline");
            }
            this.pipeline = pipeline;
            return this;
        }
        @CustomType.Setter
        public Builder policies(@Nullable List policies) {

            this.policies = policies;
            return this;
        }
        public Builder policies(String... policies) {
            return policies(List.of(policies));
        }
        @CustomType.Setter
        public Builder primaryContact(@Nullable String primaryContact) {

            this.primaryContact = primaryContact;
            return this;
        }
        @CustomType.Setter
        public Builder provisioningState(String provisioningState) {
            if (provisioningState == null) {
              throw new MissingRequiredPropertyException("ConnectionPropertiesResponse", "provisioningState");
            }
            this.provisioningState = provisioningState;
            return this;
        }
        @CustomType.Setter
        public Builder remoteSubscriptionId(@Nullable String remoteSubscriptionId) {

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

            this.requirementId = requirementId;
            return this;
        }
        @CustomType.Setter
        public Builder schemas(@Nullable List schemas) {

            this.schemas = schemas;
            return this;
        }
        public Builder schemas(SchemaResponse... schemas) {
            return schemas(List.of(schemas));
        }
        @CustomType.Setter
        public Builder secondaryContacts(@Nullable List secondaryContacts) {

            this.secondaryContacts = secondaryContacts;
            return this;
        }
        public Builder secondaryContacts(String... secondaryContacts) {
            return secondaryContacts(List.of(secondaryContacts));
        }
        @CustomType.Setter
        public Builder status(String status) {
            if (status == null) {
              throw new MissingRequiredPropertyException("ConnectionPropertiesResponse", "status");
            }
            this.status = status;
            return this;
        }
        @CustomType.Setter
        public Builder statusReason(String statusReason) {
            if (statusReason == null) {
              throw new MissingRequiredPropertyException("ConnectionPropertiesResponse", "statusReason");
            }
            this.statusReason = statusReason;
            return this;
        }
        public ConnectionPropertiesResponse build() {
            final var _resultValue = new ConnectionPropertiesResponse();
            _resultValue.approver = approver;
            _resultValue.dateSubmitted = dateSubmitted;
            _resultValue.direction = direction;
            _resultValue.flowTypes = flowTypes;
            _resultValue.justification = justification;
            _resultValue.linkStatus = linkStatus;
            _resultValue.linkedConnectionId = linkedConnectionId;
            _resultValue.pin = pin;
            _resultValue.pipeline = pipeline;
            _resultValue.policies = policies;
            _resultValue.primaryContact = primaryContact;
            _resultValue.provisioningState = provisioningState;
            _resultValue.remoteSubscriptionId = remoteSubscriptionId;
            _resultValue.requirementId = requirementId;
            _resultValue.schemas = schemas;
            _resultValue.secondaryContacts = secondaryContacts;
            _resultValue.status = status;
            _resultValue.statusReason = statusReason;
            return _resultValue;
        }
    }
}




© 2015 - 2025 Weber Informatics LLC | Privacy Policy