ExposureControlRequest Class

  • java.lang.Object
    • com.azure.resourcemanager.datafactory.models.ExposureControlRequest

Implements

public final class ExposureControlRequest
implements JsonSerializable<ExposureControlRequest>

The exposure control request.

Constructor Summary

Constructor Description
ExposureControlRequest()

Creates an instance of ExposureControlRequest class.

Method Summary

Modifier and Type Method and Description
String featureName()

Get the featureName property: The feature name.

String featureType()

Get the featureType property: The feature type.

static ExposureControlRequest fromJson(JsonReader jsonReader)

Reads an instance of ExposureControlRequest from the JsonReader.

JsonWriter toJson(JsonWriter jsonWriter)
void validate()

Validates the instance.

ExposureControlRequest withFeatureName(String featureName)

Set the featureName property: The feature name.

ExposureControlRequest withFeatureType(String featureType)

Set the featureType property: The feature type.

Methods inherited from java.lang.Object

Constructor Details

ExposureControlRequest

public ExposureControlRequest()

Creates an instance of ExposureControlRequest class.

Method Details

featureName

public String featureName()

Get the featureName property: The feature name.

Returns:

the featureName value.

featureType

public String featureType()

Get the featureType property: The feature type.

Returns:

the featureType value.

fromJson

public static ExposureControlRequest fromJson(JsonReader jsonReader)

Reads an instance of ExposureControlRequest from the JsonReader.

Parameters:

jsonReader - The JsonReader being read.

Returns:

An instance of ExposureControlRequest if the JsonReader was pointing to an instance of it, or null if it was pointing to JSON null.

Throws:

IOException

- If an error occurs while reading the ExposureControlRequest.

toJson

public JsonWriter toJson(JsonWriter jsonWriter)

Parameters:

jsonWriter

Throws:

validate

public void validate()

Validates the instance.

withFeatureName

public ExposureControlRequest withFeatureName(String featureName)

Set the featureName property: The feature name.

Parameters:

featureName - the featureName value to set.

Returns:

the ExposureControlRequest object itself.

withFeatureType

public ExposureControlRequest withFeatureType(String featureType)

Set the featureType property: The feature type.

Parameters:

featureType - the featureType value to set.

Returns:

the ExposureControlRequest object itself.

Applies to