Class RelationshipResourceFormatInner
java.lang.Object
com.azure.core.management.ProxyResource
com.azure.resourcemanager.customerinsights.fluent.models.RelationshipResourceFormatInner
public final class RelationshipResourceFormatInner
extends com.azure.core.management.ProxyResource
The relationship resource format.
-
Constructor Summary
ConstructorDescriptionCreates an instance of RelationshipResourceFormatInner class. -
Method Summary
Modifier and TypeMethodDescriptionGet the cardinality property: The Relationship Cardinality.Get the description property: Localized descriptions for the Relationship.Get the displayName property: Localized display name for the Relationship.Get the expiryDateTimeUtc property: The expiry date time in UTC.fields()
Get the fields property: The properties of the Relationship.Get the lookupMappings property: Optional property to be used to map fields in profile to their strong ids in related profile.Get the profileType property: Profile type.Get the provisioningState property: Provisioning state.Get the relatedProfileType property: Related profile being referenced.Get the relationshipGuidId property: The relationship guid id.Get the relationshipName property: The Relationship name.tenantId()
Get the tenantId property: The hub name.void
validate()
Validates the instance.withCardinality
(CardinalityTypes cardinality) Set the cardinality property: The Relationship Cardinality.withDescription
(Map<String, String> description) Set the description property: Localized descriptions for the Relationship.withDisplayName
(Map<String, String> displayName) Set the displayName property: Localized display name for the Relationship.withExpiryDateTimeUtc
(OffsetDateTime expiryDateTimeUtc) Set the expiryDateTimeUtc property: The expiry date time in UTC.withFields
(List<PropertyDefinition> fields) Set the fields property: The properties of the Relationship.withLookupMappings
(List<RelationshipTypeMapping> lookupMappings) Set the lookupMappings property: Optional property to be used to map fields in profile to their strong ids in related profile.withProfileType
(String profileType) Set the profileType property: Profile type.withRelatedProfileType
(String relatedProfileType) Set the relatedProfileType property: Related profile being referenced.Methods inherited from class com.azure.core.management.ProxyResource
id, name, type
-
Constructor Details
-
RelationshipResourceFormatInner
public RelationshipResourceFormatInner()Creates an instance of RelationshipResourceFormatInner class.
-
-
Method Details
-
cardinality
Get the cardinality property: The Relationship Cardinality.- Returns:
- the cardinality value.
-
withCardinality
Set the cardinality property: The Relationship Cardinality.- Parameters:
cardinality
- the cardinality value to set.- Returns:
- the RelationshipResourceFormatInner object itself.
-
displayName
Get the displayName property: Localized display name for the Relationship.- Returns:
- the displayName value.
-
withDisplayName
Set the displayName property: Localized display name for the Relationship.- Parameters:
displayName
- the displayName value to set.- Returns:
- the RelationshipResourceFormatInner object itself.
-
description
Get the description property: Localized descriptions for the Relationship.- Returns:
- the description value.
-
withDescription
Set the description property: Localized descriptions for the Relationship.- Parameters:
description
- the description value to set.- Returns:
- the RelationshipResourceFormatInner object itself.
-
expiryDateTimeUtc
Get the expiryDateTimeUtc property: The expiry date time in UTC.- Returns:
- the expiryDateTimeUtc value.
-
withExpiryDateTimeUtc
Set the expiryDateTimeUtc property: The expiry date time in UTC.- Parameters:
expiryDateTimeUtc
- the expiryDateTimeUtc value to set.- Returns:
- the RelationshipResourceFormatInner object itself.
-
fields
Get the fields property: The properties of the Relationship.- Returns:
- the fields value.
-
withFields
Set the fields property: The properties of the Relationship.- Parameters:
fields
- the fields value to set.- Returns:
- the RelationshipResourceFormatInner object itself.
-
lookupMappings
Get the lookupMappings property: Optional property to be used to map fields in profile to their strong ids in related profile.- Returns:
- the lookupMappings value.
-
withLookupMappings
public RelationshipResourceFormatInner withLookupMappings(List<RelationshipTypeMapping> lookupMappings) Set the lookupMappings property: Optional property to be used to map fields in profile to their strong ids in related profile.- Parameters:
lookupMappings
- the lookupMappings value to set.- Returns:
- the RelationshipResourceFormatInner object itself.
-
profileType
Get the profileType property: Profile type.- Returns:
- the profileType value.
-
withProfileType
Set the profileType property: Profile type.- Parameters:
profileType
- the profileType value to set.- Returns:
- the RelationshipResourceFormatInner object itself.
-
provisioningState
Get the provisioningState property: Provisioning state.- Returns:
- the provisioningState value.
-
relationshipName
Get the relationshipName property: The Relationship name.- Returns:
- the relationshipName value.
-
withRelatedProfileType
Set the relatedProfileType property: Related profile being referenced.- Parameters:
relatedProfileType
- the relatedProfileType value to set.- Returns:
- the RelationshipResourceFormatInner object itself.
-
relationshipGuidId
Get the relationshipGuidId property: The relationship guid id.- Returns:
- the relationshipGuidId value.
-
tenantId
Get the tenantId property: The hub name.- Returns:
- the tenantId value.
-
validate
public void validate()Validates the instance.- Throws:
IllegalArgumentException
- thrown if the instance is not valid.
-