
com.pulumi.azurenative.azuredatatransfer.outputs.PendingConnectionResponse Maven / Gradle / Ivy
Go to download
Show more of this group Show more artifacts with this name
Show all versions of azure-native Show documentation
Show all versions of azure-native Show documentation
A native Pulumi package for creating and managing Azure resources.
// *** 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.azurenative.azuredatatransfer.outputs.SystemDataResponse;
import com.pulumi.core.annotations.CustomType;
import com.pulumi.exceptions.MissingRequiredPropertyException;
import java.lang.String;
import java.util.List;
import java.util.Map;
import java.util.Objects;
import java.util.Optional;
import javax.annotation.Nullable;
@CustomType
public final class PendingConnectionResponse {
/**
* @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 Fully qualified resource ID for the resource. E.g. "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/{resourceProviderNamespace}/{resourceType}/{resourceName}"
*
*/
private String id;
/**
* @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 The geo-location where the resource lives
*
*/
private String location;
/**
* @return The name of the resource
*
*/
private String name;
/**
* @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;
/**
* @return Subscription ID of the pending connection.
*
*/
private String subscriptionId;
/**
* @return Azure Resource Manager metadata containing createdBy and modifiedBy information.
*
*/
private SystemDataResponse systemData;
/**
* @return Resource tags.
*
*/
private @Nullable Map tags;
/**
* @return The type of the resource. E.g. "Microsoft.Compute/virtualMachines" or "Microsoft.Storage/storageAccounts"
*
*/
private String type;
private PendingConnectionResponse() {}
/**
* @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 Fully qualified resource ID for the resource. E.g. "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/{resourceProviderNamespace}/{resourceType}/{resourceName}"
*
*/
public String id() {
return this.id;
}
/**
* @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 The geo-location where the resource lives
*
*/
public String location() {
return this.location;
}
/**
* @return The name of the resource
*
*/
public String name() {
return this.name;
}
/**
* @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;
}
/**
* @return Subscription ID of the pending connection.
*
*/
public String subscriptionId() {
return this.subscriptionId;
}
/**
* @return Azure Resource Manager metadata containing createdBy and modifiedBy information.
*
*/
public SystemDataResponse systemData() {
return this.systemData;
}
/**
* @return Resource tags.
*
*/
public Map tags() {
return this.tags == null ? Map.of() : this.tags;
}
/**
* @return The type of the resource. E.g. "Microsoft.Compute/virtualMachines" or "Microsoft.Storage/storageAccounts"
*
*/
public String type() {
return this.type;
}
public static Builder builder() {
return new Builder();
}
public static Builder builder(PendingConnectionResponse 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 String id;
private @Nullable String justification;
private String linkStatus;
private String linkedConnectionId;
private String location;
private String name;
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;
private String subscriptionId;
private SystemDataResponse systemData;
private @Nullable Map tags;
private String type;
public Builder() {}
public Builder(PendingConnectionResponse defaults) {
Objects.requireNonNull(defaults);
this.approver = defaults.approver;
this.dateSubmitted = defaults.dateSubmitted;
this.direction = defaults.direction;
this.flowTypes = defaults.flowTypes;
this.id = defaults.id;
this.justification = defaults.justification;
this.linkStatus = defaults.linkStatus;
this.linkedConnectionId = defaults.linkedConnectionId;
this.location = defaults.location;
this.name = defaults.name;
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;
this.subscriptionId = defaults.subscriptionId;
this.systemData = defaults.systemData;
this.tags = defaults.tags;
this.type = defaults.type;
}
@CustomType.Setter
public Builder approver(String approver) {
if (approver == null) {
throw new MissingRequiredPropertyException("PendingConnectionResponse", "approver");
}
this.approver = approver;
return this;
}
@CustomType.Setter
public Builder dateSubmitted(String dateSubmitted) {
if (dateSubmitted == null) {
throw new MissingRequiredPropertyException("PendingConnectionResponse", "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 id(String id) {
if (id == null) {
throw new MissingRequiredPropertyException("PendingConnectionResponse", "id");
}
this.id = id;
return this;
}
@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("PendingConnectionResponse", "linkStatus");
}
this.linkStatus = linkStatus;
return this;
}
@CustomType.Setter
public Builder linkedConnectionId(String linkedConnectionId) {
if (linkedConnectionId == null) {
throw new MissingRequiredPropertyException("PendingConnectionResponse", "linkedConnectionId");
}
this.linkedConnectionId = linkedConnectionId;
return this;
}
@CustomType.Setter
public Builder location(String location) {
if (location == null) {
throw new MissingRequiredPropertyException("PendingConnectionResponse", "location");
}
this.location = location;
return this;
}
@CustomType.Setter
public Builder name(String name) {
if (name == null) {
throw new MissingRequiredPropertyException("PendingConnectionResponse", "name");
}
this.name = name;
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("PendingConnectionResponse", "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("PendingConnectionResponse", "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("PendingConnectionResponse", "status");
}
this.status = status;
return this;
}
@CustomType.Setter
public Builder statusReason(String statusReason) {
if (statusReason == null) {
throw new MissingRequiredPropertyException("PendingConnectionResponse", "statusReason");
}
this.statusReason = statusReason;
return this;
}
@CustomType.Setter
public Builder subscriptionId(String subscriptionId) {
if (subscriptionId == null) {
throw new MissingRequiredPropertyException("PendingConnectionResponse", "subscriptionId");
}
this.subscriptionId = subscriptionId;
return this;
}
@CustomType.Setter
public Builder systemData(SystemDataResponse systemData) {
if (systemData == null) {
throw new MissingRequiredPropertyException("PendingConnectionResponse", "systemData");
}
this.systemData = systemData;
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("PendingConnectionResponse", "type");
}
this.type = type;
return this;
}
public PendingConnectionResponse build() {
final var _resultValue = new PendingConnectionResponse();
_resultValue.approver = approver;
_resultValue.dateSubmitted = dateSubmitted;
_resultValue.direction = direction;
_resultValue.flowTypes = flowTypes;
_resultValue.id = id;
_resultValue.justification = justification;
_resultValue.linkStatus = linkStatus;
_resultValue.linkedConnectionId = linkedConnectionId;
_resultValue.location = location;
_resultValue.name = name;
_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;
_resultValue.subscriptionId = subscriptionId;
_resultValue.systemData = systemData;
_resultValue.tags = tags;
_resultValue.type = type;
return _resultValue;
}
}
}
© 2015 - 2025 Weber Informatics LLC | Privacy Policy