ExtractiveSummarizationTaskParameters.java
// Copyright (c) Microsoft Corporation. All rights reserved.
// Licensed under the MIT License.
// Code generated by Microsoft (R) AutoRest Code Generator.
package com.azure.ai.textanalytics.implementation.models;
import com.azure.core.annotation.Fluent;
import com.fasterxml.jackson.annotation.JsonProperty;
/** The ExtractiveSummarizationTaskParameters model. */
@Fluent
public final class ExtractiveSummarizationTaskParameters {
/*
* The model-version property.
*/
@JsonProperty(value = "model-version")
private String modelVersion;
/*
* The loggingOptOut property.
*/
@JsonProperty(value = "loggingOptOut")
private Boolean loggingOptOut;
/*
* The stringIndexType property.
*/
@JsonProperty(value = "stringIndexType")
private StringIndexType stringIndexType;
/*
* The sentenceCount property.
*/
@JsonProperty(value = "sentenceCount")
private Integer sentenceCount;
/*
* The sortBy property.
*/
@JsonProperty(value = "sortBy")
private ExtractiveSummarizationTaskParametersSortBy sortBy;
/**
* Get the modelVersion property: The model-version property.
*
* @return the modelVersion value.
*/
public String getModelVersion() {
return this.modelVersion;
}
/**
* Set the modelVersion property: The model-version property.
*
* @param modelVersion the modelVersion value to set.
* @return the ExtractiveSummarizationTaskParameters object itself.
*/
public ExtractiveSummarizationTaskParameters setModelVersion(String modelVersion) {
this.modelVersion = modelVersion;
return this;
}
/**
* Get the loggingOptOut property: The loggingOptOut property.
*
* @return the loggingOptOut value.
*/
public Boolean isLoggingOptOut() {
return this.loggingOptOut;
}
/**
* Set the loggingOptOut property: The loggingOptOut property.
*
* @param loggingOptOut the loggingOptOut value to set.
* @return the ExtractiveSummarizationTaskParameters object itself.
*/
public ExtractiveSummarizationTaskParameters setLoggingOptOut(Boolean loggingOptOut) {
this.loggingOptOut = loggingOptOut;
return this;
}
/**
* Get the stringIndexType property: The stringIndexType property.
*
* @return the stringIndexType value.
*/
public StringIndexType getStringIndexType() {
return this.stringIndexType;
}
/**
* Set the stringIndexType property: The stringIndexType property.
*
* @param stringIndexType the stringIndexType value to set.
* @return the ExtractiveSummarizationTaskParameters object itself.
*/
public ExtractiveSummarizationTaskParameters setStringIndexType(StringIndexType stringIndexType) {
this.stringIndexType = stringIndexType;
return this;
}
/**
* Get the sentenceCount property: The sentenceCount property.
*
* @return the sentenceCount value.
*/
public Integer getSentenceCount() {
return this.sentenceCount;
}
/**
* Set the sentenceCount property: The sentenceCount property.
*
* @param sentenceCount the sentenceCount value to set.
* @return the ExtractiveSummarizationTaskParameters object itself.
*/
public ExtractiveSummarizationTaskParameters setSentenceCount(Integer sentenceCount) {
this.sentenceCount = sentenceCount;
return this;
}
/**
* Get the sortBy property: The sortBy property.
*
* @return the sortBy value.
*/
public ExtractiveSummarizationTaskParametersSortBy getSortBy() {
return this.sortBy;
}
/**
* Set the sortBy property: The sortBy property.
*
* @param sortBy the sortBy value to set.
* @return the ExtractiveSummarizationTaskParameters object itself.
*/
public ExtractiveSummarizationTaskParameters setSortBy(ExtractiveSummarizationTaskParametersSortBy sortBy) {
this.sortBy = sortBy;
return this;
}
}