|
| 1 | +// Copyright (c) Microsoft Corporation. All rights reserved. |
| 2 | +// Licensed under the MIT License. |
| 3 | +// Code generated by Microsoft (R) AutoRest Code Generator. |
| 4 | + |
| 5 | +package com.azure.ai.metricsadvisor.models; |
| 6 | + |
| 7 | +import com.azure.core.annotation.Fluent; |
| 8 | +import com.fasterxml.jackson.annotation.JsonProperty; |
| 9 | +import com.fasterxml.jackson.annotation.JsonTypeInfo; |
| 10 | +import com.fasterxml.jackson.annotation.JsonTypeName; |
| 11 | +import java.util.List; |
| 12 | + |
| 13 | +/** The AzureApplicationInsightsDataFeed model. */ |
| 14 | +@JsonTypeInfo(use = JsonTypeInfo.Id.NAME, include = JsonTypeInfo.As.PROPERTY, property = "dataSourceType") |
| 15 | +@JsonTypeName("AzureApplicationInsights") |
| 16 | +@Fluent |
| 17 | +public final class AzureApplicationInsightsDataFeed extends DataFeedDetail { |
| 18 | + /* |
| 19 | + * The dataSourceParameter property. |
| 20 | + */ |
| 21 | + @JsonProperty(value = "dataSourceParameter", required = true) |
| 22 | + private AzureApplicationInsightsParameter dataSourceParameter; |
| 23 | + |
| 24 | + /** |
| 25 | + * Get the dataSourceParameter property: The dataSourceParameter property. |
| 26 | + * |
| 27 | + * @return the dataSourceParameter value. |
| 28 | + */ |
| 29 | + public AzureApplicationInsightsParameter getDataSourceParameter() { |
| 30 | + return this.dataSourceParameter; |
| 31 | + } |
| 32 | + |
| 33 | + /** |
| 34 | + * Set the dataSourceParameter property: The dataSourceParameter property. |
| 35 | + * |
| 36 | + * @param dataSourceParameter the dataSourceParameter value to set. |
| 37 | + * @return the AzureApplicationInsightsDataFeed object itself. |
| 38 | + */ |
| 39 | + public AzureApplicationInsightsDataFeed setDataSourceParameter( |
| 40 | + AzureApplicationInsightsParameter dataSourceParameter) { |
| 41 | + this.dataSourceParameter = dataSourceParameter; |
| 42 | + return this; |
| 43 | + } |
| 44 | + |
| 45 | + /** {@inheritDoc} */ |
| 46 | + @Override |
| 47 | + public AzureApplicationInsightsDataFeed setDataFeedName(String dataFeedName) { |
| 48 | + super.setDataFeedName(dataFeedName); |
| 49 | + return this; |
| 50 | + } |
| 51 | + |
| 52 | + /** {@inheritDoc} */ |
| 53 | + @Override |
| 54 | + public AzureApplicationInsightsDataFeed setDataFeedDescription(String dataFeedDescription) { |
| 55 | + super.setDataFeedDescription(dataFeedDescription); |
| 56 | + return this; |
| 57 | + } |
| 58 | + |
| 59 | + /** {@inheritDoc} */ |
| 60 | + @Override |
| 61 | + public AzureApplicationInsightsDataFeed setGranularityName(Granularity granularityName) { |
| 62 | + super.setGranularityName(granularityName); |
| 63 | + return this; |
| 64 | + } |
| 65 | + |
| 66 | + /** {@inheritDoc} */ |
| 67 | + @Override |
| 68 | + public AzureApplicationInsightsDataFeed setGranularityAmount(Integer granularityAmount) { |
| 69 | + super.setGranularityAmount(granularityAmount); |
| 70 | + return this; |
| 71 | + } |
| 72 | + |
| 73 | + /** {@inheritDoc} */ |
| 74 | + @Override |
| 75 | + public AzureApplicationInsightsDataFeed setMetrics(List<Metric> metrics) { |
| 76 | + super.setMetrics(metrics); |
| 77 | + return this; |
| 78 | + } |
| 79 | + |
| 80 | + /** {@inheritDoc} */ |
| 81 | + @Override |
| 82 | + public AzureApplicationInsightsDataFeed setDimension(List<Dimension> dimension) { |
| 83 | + super.setDimension(dimension); |
| 84 | + return this; |
| 85 | + } |
| 86 | + |
| 87 | + /** {@inheritDoc} */ |
| 88 | + @Override |
| 89 | + public AzureApplicationInsightsDataFeed setTimestampColumn(String timestampColumn) { |
| 90 | + super.setTimestampColumn(timestampColumn); |
| 91 | + return this; |
| 92 | + } |
| 93 | + |
| 94 | + /** {@inheritDoc} */ |
| 95 | + @Override |
| 96 | + public AzureApplicationInsightsDataFeed setDataStartFrom(String dataStartFrom) { |
| 97 | + super.setDataStartFrom(dataStartFrom); |
| 98 | + return this; |
| 99 | + } |
| 100 | + |
| 101 | + /** {@inheritDoc} */ |
| 102 | + @Override |
| 103 | + public AzureApplicationInsightsDataFeed setStartOffsetInSeconds(Long startOffsetInSeconds) { |
| 104 | + super.setStartOffsetInSeconds(startOffsetInSeconds); |
| 105 | + return this; |
| 106 | + } |
| 107 | + |
| 108 | + /** {@inheritDoc} */ |
| 109 | + @Override |
| 110 | + public AzureApplicationInsightsDataFeed setMaxConcurrency(Integer maxConcurrency) { |
| 111 | + super.setMaxConcurrency(maxConcurrency); |
| 112 | + return this; |
| 113 | + } |
| 114 | + |
| 115 | + /** {@inheritDoc} */ |
| 116 | + @Override |
| 117 | + public AzureApplicationInsightsDataFeed setMinRetryIntervalInSeconds(Long minRetryIntervalInSeconds) { |
| 118 | + super.setMinRetryIntervalInSeconds(minRetryIntervalInSeconds); |
| 119 | + return this; |
| 120 | + } |
| 121 | + |
| 122 | + /** {@inheritDoc} */ |
| 123 | + @Override |
| 124 | + public AzureApplicationInsightsDataFeed setStopRetryAfterInSeconds(Long stopRetryAfterInSeconds) { |
| 125 | + super.setStopRetryAfterInSeconds(stopRetryAfterInSeconds); |
| 126 | + return this; |
| 127 | + } |
| 128 | + |
| 129 | + /** {@inheritDoc} */ |
| 130 | + @Override |
| 131 | + public AzureApplicationInsightsDataFeed setNeedRollup(NeedRollupEnum needRollup) { |
| 132 | + super.setNeedRollup(needRollup); |
| 133 | + return this; |
| 134 | + } |
| 135 | + |
| 136 | + /** {@inheritDoc} */ |
| 137 | + @Override |
| 138 | + public AzureApplicationInsightsDataFeed setRollUpMethod(RollUpMethod rollUpMethod) { |
| 139 | + super.setRollUpMethod(rollUpMethod); |
| 140 | + return this; |
| 141 | + } |
| 142 | + |
| 143 | + /** {@inheritDoc} */ |
| 144 | + @Override |
| 145 | + public AzureApplicationInsightsDataFeed setRollUpColumns(List<String> rollUpColumns) { |
| 146 | + super.setRollUpColumns(rollUpColumns); |
| 147 | + return this; |
| 148 | + } |
| 149 | + |
| 150 | + /** {@inheritDoc} */ |
| 151 | + @Override |
| 152 | + public AzureApplicationInsightsDataFeed setAllUpIdentification(String allUpIdentification) { |
| 153 | + super.setAllUpIdentification(allUpIdentification); |
| 154 | + return this; |
| 155 | + } |
| 156 | + |
| 157 | + /** {@inheritDoc} */ |
| 158 | + @Override |
| 159 | + public AzureApplicationInsightsDataFeed setFillMissingPointType(FillMissingPointType fillMissingPointType) { |
| 160 | + super.setFillMissingPointType(fillMissingPointType); |
| 161 | + return this; |
| 162 | + } |
| 163 | + |
| 164 | + /** {@inheritDoc} */ |
| 165 | + @Override |
| 166 | + public AzureApplicationInsightsDataFeed setFillMissingPointValue(Double fillMissingPointValue) { |
| 167 | + super.setFillMissingPointValue(fillMissingPointValue); |
| 168 | + return this; |
| 169 | + } |
| 170 | + |
| 171 | + /** {@inheritDoc} */ |
| 172 | + @Override |
| 173 | + public AzureApplicationInsightsDataFeed setViewMode(ViewMode viewMode) { |
| 174 | + super.setViewMode(viewMode); |
| 175 | + return this; |
| 176 | + } |
| 177 | + |
| 178 | + /** {@inheritDoc} */ |
| 179 | + @Override |
| 180 | + public AzureApplicationInsightsDataFeed setAdmins(List<String> admins) { |
| 181 | + super.setAdmins(admins); |
| 182 | + return this; |
| 183 | + } |
| 184 | + |
| 185 | + /** {@inheritDoc} */ |
| 186 | + @Override |
| 187 | + public AzureApplicationInsightsDataFeed setViewers(List<String> viewers) { |
| 188 | + super.setViewers(viewers); |
| 189 | + return this; |
| 190 | + } |
| 191 | + |
| 192 | + /** {@inheritDoc} */ |
| 193 | + @Override |
| 194 | + public AzureApplicationInsightsDataFeed setActionLinkTemplate(String actionLinkTemplate) { |
| 195 | + super.setActionLinkTemplate(actionLinkTemplate); |
| 196 | + return this; |
| 197 | + } |
| 198 | + |
| 199 | + /** {@inheritDoc} */ |
| 200 | + @Override |
| 201 | + public AzureApplicationInsightsDataFeed setAuthenticationType(AuthenticationTypeEnum authenticationType) { |
| 202 | + super.setAuthenticationType(authenticationType); |
| 203 | + return this; |
| 204 | + } |
| 205 | + |
| 206 | + /** {@inheritDoc} */ |
| 207 | + @Override |
| 208 | + public AzureApplicationInsightsDataFeed setCredentialId(String credentialId) { |
| 209 | + super.setCredentialId(credentialId); |
| 210 | + return this; |
| 211 | + } |
| 212 | +} |
0 commit comments