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

com.pulumi.azurenative.customerinsights.outputs.GetProfileResult Maven / Gradle / Ivy

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

import com.pulumi.azurenative.customerinsights.outputs.PropertyDefinitionResponse;
import com.pulumi.azurenative.customerinsights.outputs.StrongIdResponse;
import com.pulumi.core.annotations.CustomType;
import com.pulumi.exceptions.MissingRequiredPropertyException;
import java.lang.Integer;
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 GetProfileResult {
    /**
     * @return The api entity set name. This becomes the odata entity set name for the entity Type being referred in this object.
     * 
     */
    private @Nullable String apiEntitySetName;
    /**
     * @return The attributes for the Type.
     * 
     */
    private @Nullable Map> attributes;
    /**
     * @return Localized descriptions for the property.
     * 
     */
    private @Nullable Map description;
    /**
     * @return Localized display names for the property.
     * 
     */
    private @Nullable Map displayName;
    /**
     * @return Type of entity.
     * 
     */
    private @Nullable String entityType;
    /**
     * @return The properties of the Profile.
     * 
     */
    private @Nullable List fields;
    /**
     * @return Resource ID.
     * 
     */
    private String id;
    /**
     * @return The instance count.
     * 
     */
    private @Nullable Integer instancesCount;
    /**
     * @return Large Image associated with the Property or EntityType.
     * 
     */
    private @Nullable String largeImage;
    /**
     * @return The last changed time for the type definition.
     * 
     */
    private String lastChangedUtc;
    /**
     * @return Any custom localized attributes for the Type.
     * 
     */
    private @Nullable Map> localizedAttributes;
    /**
     * @return Medium Image associated with the Property or EntityType.
     * 
     */
    private @Nullable String mediumImage;
    /**
     * @return Resource name.
     * 
     */
    private String name;
    /**
     * @return Provisioning state.
     * 
     */
    private String provisioningState;
    /**
     * @return The schema org link. This helps ACI identify and suggest semantic models.
     * 
     */
    private @Nullable String schemaItemTypeLink;
    /**
     * @return Small Image associated with the Property or EntityType.
     * 
     */
    private @Nullable String smallImage;
    /**
     * @return The strong IDs.
     * 
     */
    private @Nullable List strongIds;
    /**
     * @return The hub name.
     * 
     */
    private String tenantId;
    /**
     * @return The timestamp property name. Represents the time when the interaction or profile update happened.
     * 
     */
    private @Nullable String timestampFieldName;
    /**
     * @return Resource type.
     * 
     */
    private String type;
    /**
     * @return The name of the entity.
     * 
     */
    private @Nullable String typeName;

    private GetProfileResult() {}
    /**
     * @return The api entity set name. This becomes the odata entity set name for the entity Type being referred in this object.
     * 
     */
    public Optional apiEntitySetName() {
        return Optional.ofNullable(this.apiEntitySetName);
    }
    /**
     * @return The attributes for the Type.
     * 
     */
    public Map> attributes() {
        return this.attributes == null ? Map.of() : this.attributes;
    }
    /**
     * @return Localized descriptions for the property.
     * 
     */
    public Map description() {
        return this.description == null ? Map.of() : this.description;
    }
    /**
     * @return Localized display names for the property.
     * 
     */
    public Map displayName() {
        return this.displayName == null ? Map.of() : this.displayName;
    }
    /**
     * @return Type of entity.
     * 
     */
    public Optional entityType() {
        return Optional.ofNullable(this.entityType);
    }
    /**
     * @return The properties of the Profile.
     * 
     */
    public List fields() {
        return this.fields == null ? List.of() : this.fields;
    }
    /**
     * @return Resource ID.
     * 
     */
    public String id() {
        return this.id;
    }
    /**
     * @return The instance count.
     * 
     */
    public Optional instancesCount() {
        return Optional.ofNullable(this.instancesCount);
    }
    /**
     * @return Large Image associated with the Property or EntityType.
     * 
     */
    public Optional largeImage() {
        return Optional.ofNullable(this.largeImage);
    }
    /**
     * @return The last changed time for the type definition.
     * 
     */
    public String lastChangedUtc() {
        return this.lastChangedUtc;
    }
    /**
     * @return Any custom localized attributes for the Type.
     * 
     */
    public Map> localizedAttributes() {
        return this.localizedAttributes == null ? Map.of() : this.localizedAttributes;
    }
    /**
     * @return Medium Image associated with the Property or EntityType.
     * 
     */
    public Optional mediumImage() {
        return Optional.ofNullable(this.mediumImage);
    }
    /**
     * @return Resource name.
     * 
     */
    public String name() {
        return this.name;
    }
    /**
     * @return Provisioning state.
     * 
     */
    public String provisioningState() {
        return this.provisioningState;
    }
    /**
     * @return The schema org link. This helps ACI identify and suggest semantic models.
     * 
     */
    public Optional schemaItemTypeLink() {
        return Optional.ofNullable(this.schemaItemTypeLink);
    }
    /**
     * @return Small Image associated with the Property or EntityType.
     * 
     */
    public Optional smallImage() {
        return Optional.ofNullable(this.smallImage);
    }
    /**
     * @return The strong IDs.
     * 
     */
    public List strongIds() {
        return this.strongIds == null ? List.of() : this.strongIds;
    }
    /**
     * @return The hub name.
     * 
     */
    public String tenantId() {
        return this.tenantId;
    }
    /**
     * @return The timestamp property name. Represents the time when the interaction or profile update happened.
     * 
     */
    public Optional timestampFieldName() {
        return Optional.ofNullable(this.timestampFieldName);
    }
    /**
     * @return Resource type.
     * 
     */
    public String type() {
        return this.type;
    }
    /**
     * @return The name of the entity.
     * 
     */
    public Optional typeName() {
        return Optional.ofNullable(this.typeName);
    }

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

    public static Builder builder(GetProfileResult defaults) {
        return new Builder(defaults);
    }
    @CustomType.Builder
    public static final class Builder {
        private @Nullable String apiEntitySetName;
        private @Nullable Map> attributes;
        private @Nullable Map description;
        private @Nullable Map displayName;
        private @Nullable String entityType;
        private @Nullable List fields;
        private String id;
        private @Nullable Integer instancesCount;
        private @Nullable String largeImage;
        private String lastChangedUtc;
        private @Nullable Map> localizedAttributes;
        private @Nullable String mediumImage;
        private String name;
        private String provisioningState;
        private @Nullable String schemaItemTypeLink;
        private @Nullable String smallImage;
        private @Nullable List strongIds;
        private String tenantId;
        private @Nullable String timestampFieldName;
        private String type;
        private @Nullable String typeName;
        public Builder() {}
        public Builder(GetProfileResult defaults) {
    	      Objects.requireNonNull(defaults);
    	      this.apiEntitySetName = defaults.apiEntitySetName;
    	      this.attributes = defaults.attributes;
    	      this.description = defaults.description;
    	      this.displayName = defaults.displayName;
    	      this.entityType = defaults.entityType;
    	      this.fields = defaults.fields;
    	      this.id = defaults.id;
    	      this.instancesCount = defaults.instancesCount;
    	      this.largeImage = defaults.largeImage;
    	      this.lastChangedUtc = defaults.lastChangedUtc;
    	      this.localizedAttributes = defaults.localizedAttributes;
    	      this.mediumImage = defaults.mediumImage;
    	      this.name = defaults.name;
    	      this.provisioningState = defaults.provisioningState;
    	      this.schemaItemTypeLink = defaults.schemaItemTypeLink;
    	      this.smallImage = defaults.smallImage;
    	      this.strongIds = defaults.strongIds;
    	      this.tenantId = defaults.tenantId;
    	      this.timestampFieldName = defaults.timestampFieldName;
    	      this.type = defaults.type;
    	      this.typeName = defaults.typeName;
        }

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

            this.apiEntitySetName = apiEntitySetName;
            return this;
        }
        @CustomType.Setter
        public Builder attributes(@Nullable Map> attributes) {

            this.attributes = attributes;
            return this;
        }
        @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 entityType(@Nullable String entityType) {

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

            this.fields = fields;
            return this;
        }
        public Builder fields(PropertyDefinitionResponse... fields) {
            return fields(List.of(fields));
        }
        @CustomType.Setter
        public Builder id(String id) {
            if (id == null) {
              throw new MissingRequiredPropertyException("GetProfileResult", "id");
            }
            this.id = id;
            return this;
        }
        @CustomType.Setter
        public Builder instancesCount(@Nullable Integer instancesCount) {

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

            this.largeImage = largeImage;
            return this;
        }
        @CustomType.Setter
        public Builder lastChangedUtc(String lastChangedUtc) {
            if (lastChangedUtc == null) {
              throw new MissingRequiredPropertyException("GetProfileResult", "lastChangedUtc");
            }
            this.lastChangedUtc = lastChangedUtc;
            return this;
        }
        @CustomType.Setter
        public Builder localizedAttributes(@Nullable Map> localizedAttributes) {

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

            this.mediumImage = mediumImage;
            return this;
        }
        @CustomType.Setter
        public Builder name(String name) {
            if (name == null) {
              throw new MissingRequiredPropertyException("GetProfileResult", "name");
            }
            this.name = name;
            return this;
        }
        @CustomType.Setter
        public Builder provisioningState(String provisioningState) {
            if (provisioningState == null) {
              throw new MissingRequiredPropertyException("GetProfileResult", "provisioningState");
            }
            this.provisioningState = provisioningState;
            return this;
        }
        @CustomType.Setter
        public Builder schemaItemTypeLink(@Nullable String schemaItemTypeLink) {

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

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

            this.strongIds = strongIds;
            return this;
        }
        public Builder strongIds(StrongIdResponse... strongIds) {
            return strongIds(List.of(strongIds));
        }
        @CustomType.Setter
        public Builder tenantId(String tenantId) {
            if (tenantId == null) {
              throw new MissingRequiredPropertyException("GetProfileResult", "tenantId");
            }
            this.tenantId = tenantId;
            return this;
        }
        @CustomType.Setter
        public Builder timestampFieldName(@Nullable String timestampFieldName) {

            this.timestampFieldName = timestampFieldName;
            return this;
        }
        @CustomType.Setter
        public Builder type(String type) {
            if (type == null) {
              throw new MissingRequiredPropertyException("GetProfileResult", "type");
            }
            this.type = type;
            return this;
        }
        @CustomType.Setter
        public Builder typeName(@Nullable String typeName) {

            this.typeName = typeName;
            return this;
        }
        public GetProfileResult build() {
            final var _resultValue = new GetProfileResult();
            _resultValue.apiEntitySetName = apiEntitySetName;
            _resultValue.attributes = attributes;
            _resultValue.description = description;
            _resultValue.displayName = displayName;
            _resultValue.entityType = entityType;
            _resultValue.fields = fields;
            _resultValue.id = id;
            _resultValue.instancesCount = instancesCount;
            _resultValue.largeImage = largeImage;
            _resultValue.lastChangedUtc = lastChangedUtc;
            _resultValue.localizedAttributes = localizedAttributes;
            _resultValue.mediumImage = mediumImage;
            _resultValue.name = name;
            _resultValue.provisioningState = provisioningState;
            _resultValue.schemaItemTypeLink = schemaItemTypeLink;
            _resultValue.smallImage = smallImage;
            _resultValue.strongIds = strongIds;
            _resultValue.tenantId = tenantId;
            _resultValue.timestampFieldName = timestampFieldName;
            _resultValue.type = type;
            _resultValue.typeName = typeName;
            return _resultValue;
        }
    }
}




© 2015 - 2024 Weber Informatics LLC | Privacy Policy