
com.pulumi.azurenative.customerinsights.outputs.GetRelationshipLinkResult 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.customerinsights.outputs;
import com.pulumi.azurenative.customerinsights.outputs.ParticipantProfilePropertyReferenceResponse;
import com.pulumi.azurenative.customerinsights.outputs.RelationshipLinkFieldMappingResponse;
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 javax.annotation.Nullable;
@CustomType
public final class GetRelationshipLinkResult {
/**
* @return Localized descriptions for the Relationship Link.
*
*/
private @Nullable Map description;
/**
* @return Localized display name for the Relationship Link.
*
*/
private @Nullable Map displayName;
/**
* @return Resource ID.
*
*/
private String id;
/**
* @return The InteractionType associated with the Relationship Link.
*
*/
private String interactionType;
/**
* @return The name of the Relationship Link.
*
*/
private String linkName;
/**
* @return The mappings between Interaction and Relationship fields.
*
*/
private @Nullable List mappings;
/**
* @return Resource name.
*
*/
private String name;
/**
* @return The property references for the Profile of the Relationship.
*
*/
private List profilePropertyReferences;
/**
* @return Provisioning state.
*
*/
private String provisioningState;
/**
* @return The property references for the Related Profile of the Relationship.
*
*/
private List relatedProfilePropertyReferences;
/**
* @return The relationship guid id.
*
*/
private String relationshipGuidId;
/**
* @return The Relationship associated with the Link.
*
*/
private String relationshipName;
/**
* @return The hub name.
*
*/
private String tenantId;
/**
* @return Resource type.
*
*/
private String type;
private GetRelationshipLinkResult() {}
/**
* @return Localized descriptions for the Relationship Link.
*
*/
public Map description() {
return this.description == null ? Map.of() : this.description;
}
/**
* @return Localized display name for the Relationship Link.
*
*/
public Map displayName() {
return this.displayName == null ? Map.of() : this.displayName;
}
/**
* @return Resource ID.
*
*/
public String id() {
return this.id;
}
/**
* @return The InteractionType associated with the Relationship Link.
*
*/
public String interactionType() {
return this.interactionType;
}
/**
* @return The name of the Relationship Link.
*
*/
public String linkName() {
return this.linkName;
}
/**
* @return The mappings between Interaction and Relationship fields.
*
*/
public List mappings() {
return this.mappings == null ? List.of() : this.mappings;
}
/**
* @return Resource name.
*
*/
public String name() {
return this.name;
}
/**
* @return The property references for the Profile of the Relationship.
*
*/
public List profilePropertyReferences() {
return this.profilePropertyReferences;
}
/**
* @return Provisioning state.
*
*/
public String provisioningState() {
return this.provisioningState;
}
/**
* @return The property references for the Related Profile of the Relationship.
*
*/
public List relatedProfilePropertyReferences() {
return this.relatedProfilePropertyReferences;
}
/**
* @return The relationship guid id.
*
*/
public String relationshipGuidId() {
return this.relationshipGuidId;
}
/**
* @return The Relationship associated with the Link.
*
*/
public String relationshipName() {
return this.relationshipName;
}
/**
* @return The hub name.
*
*/
public String tenantId() {
return this.tenantId;
}
/**
* @return Resource type.
*
*/
public String type() {
return this.type;
}
public static Builder builder() {
return new Builder();
}
public static Builder builder(GetRelationshipLinkResult defaults) {
return new Builder(defaults);
}
@CustomType.Builder
public static final class Builder {
private @Nullable Map description;
private @Nullable Map displayName;
private String id;
private String interactionType;
private String linkName;
private @Nullable List mappings;
private String name;
private List profilePropertyReferences;
private String provisioningState;
private List relatedProfilePropertyReferences;
private String relationshipGuidId;
private String relationshipName;
private String tenantId;
private String type;
public Builder() {}
public Builder(GetRelationshipLinkResult defaults) {
Objects.requireNonNull(defaults);
this.description = defaults.description;
this.displayName = defaults.displayName;
this.id = defaults.id;
this.interactionType = defaults.interactionType;
this.linkName = defaults.linkName;
this.mappings = defaults.mappings;
this.name = defaults.name;
this.profilePropertyReferences = defaults.profilePropertyReferences;
this.provisioningState = defaults.provisioningState;
this.relatedProfilePropertyReferences = defaults.relatedProfilePropertyReferences;
this.relationshipGuidId = defaults.relationshipGuidId;
this.relationshipName = defaults.relationshipName;
this.tenantId = defaults.tenantId;
this.type = defaults.type;
}
@CustomType.Setter
public Builder description(@Nullable Map description) {
this.description = description;
return this;
}
@CustomType.Setter
public Builder displayName(@Nullable Map displayName) {
this.displayName = displayName;
return this;
}
@CustomType.Setter
public Builder id(String id) {
if (id == null) {
throw new MissingRequiredPropertyException("GetRelationshipLinkResult", "id");
}
this.id = id;
return this;
}
@CustomType.Setter
public Builder interactionType(String interactionType) {
if (interactionType == null) {
throw new MissingRequiredPropertyException("GetRelationshipLinkResult", "interactionType");
}
this.interactionType = interactionType;
return this;
}
@CustomType.Setter
public Builder linkName(String linkName) {
if (linkName == null) {
throw new MissingRequiredPropertyException("GetRelationshipLinkResult", "linkName");
}
this.linkName = linkName;
return this;
}
@CustomType.Setter
public Builder mappings(@Nullable List mappings) {
this.mappings = mappings;
return this;
}
public Builder mappings(RelationshipLinkFieldMappingResponse... mappings) {
return mappings(List.of(mappings));
}
@CustomType.Setter
public Builder name(String name) {
if (name == null) {
throw new MissingRequiredPropertyException("GetRelationshipLinkResult", "name");
}
this.name = name;
return this;
}
@CustomType.Setter
public Builder profilePropertyReferences(List profilePropertyReferences) {
if (profilePropertyReferences == null) {
throw new MissingRequiredPropertyException("GetRelationshipLinkResult", "profilePropertyReferences");
}
this.profilePropertyReferences = profilePropertyReferences;
return this;
}
public Builder profilePropertyReferences(ParticipantProfilePropertyReferenceResponse... profilePropertyReferences) {
return profilePropertyReferences(List.of(profilePropertyReferences));
}
@CustomType.Setter
public Builder provisioningState(String provisioningState) {
if (provisioningState == null) {
throw new MissingRequiredPropertyException("GetRelationshipLinkResult", "provisioningState");
}
this.provisioningState = provisioningState;
return this;
}
@CustomType.Setter
public Builder relatedProfilePropertyReferences(List relatedProfilePropertyReferences) {
if (relatedProfilePropertyReferences == null) {
throw new MissingRequiredPropertyException("GetRelationshipLinkResult", "relatedProfilePropertyReferences");
}
this.relatedProfilePropertyReferences = relatedProfilePropertyReferences;
return this;
}
public Builder relatedProfilePropertyReferences(ParticipantProfilePropertyReferenceResponse... relatedProfilePropertyReferences) {
return relatedProfilePropertyReferences(List.of(relatedProfilePropertyReferences));
}
@CustomType.Setter
public Builder relationshipGuidId(String relationshipGuidId) {
if (relationshipGuidId == null) {
throw new MissingRequiredPropertyException("GetRelationshipLinkResult", "relationshipGuidId");
}
this.relationshipGuidId = relationshipGuidId;
return this;
}
@CustomType.Setter
public Builder relationshipName(String relationshipName) {
if (relationshipName == null) {
throw new MissingRequiredPropertyException("GetRelationshipLinkResult", "relationshipName");
}
this.relationshipName = relationshipName;
return this;
}
@CustomType.Setter
public Builder tenantId(String tenantId) {
if (tenantId == null) {
throw new MissingRequiredPropertyException("GetRelationshipLinkResult", "tenantId");
}
this.tenantId = tenantId;
return this;
}
@CustomType.Setter
public Builder type(String type) {
if (type == null) {
throw new MissingRequiredPropertyException("GetRelationshipLinkResult", "type");
}
this.type = type;
return this;
}
public GetRelationshipLinkResult build() {
final var _resultValue = new GetRelationshipLinkResult();
_resultValue.description = description;
_resultValue.displayName = displayName;
_resultValue.id = id;
_resultValue.interactionType = interactionType;
_resultValue.linkName = linkName;
_resultValue.mappings = mappings;
_resultValue.name = name;
_resultValue.profilePropertyReferences = profilePropertyReferences;
_resultValue.provisioningState = provisioningState;
_resultValue.relatedProfilePropertyReferences = relatedProfilePropertyReferences;
_resultValue.relationshipGuidId = relationshipGuidId;
_resultValue.relationshipName = relationshipName;
_resultValue.tenantId = tenantId;
_resultValue.type = type;
return _resultValue;
}
}
}
© 2015 - 2025 Weber Informatics LLC | Privacy Policy