IngestionSourcesPropertiesFormat Class
- java.
lang. Object - com.
azure. resourcemanager. networkfunction. models. IngestionSourcesPropertiesFormat
- com.
Implements
public final class IngestionSourcesPropertiesFormat
implements JsonSerializable<IngestionSourcesPropertiesFormat>
Ingestion policy properties.
Constructor Summary
| Constructor | Description |
|---|---|
| IngestionSourcesPropertiesFormat() |
Creates an instance of Ingestion |
Method Summary
| Modifier and Type | Method and Description |
|---|---|
|
static
Ingestion |
fromJson(JsonReader jsonReader)
Reads an instance of Ingestion |
| String |
resourceId()
Get the resource |
|
Source |
sourceType()
Get the source |
|
Json |
toJson(JsonWriter jsonWriter) |
|
Ingestion |
withResourceId(String resourceId)
Set the resource |
|
Ingestion |
withSourceType(SourceType sourceType)
Set the source |
Methods inherited from java.lang.Object
Constructor Details
IngestionSourcesPropertiesFormat
public IngestionSourcesPropertiesFormat()
Creates an instance of IngestionSourcesPropertiesFormat class.
Method Details
fromJson
public static IngestionSourcesPropertiesFormat fromJson(JsonReader jsonReader)
Reads an instance of IngestionSourcesPropertiesFormat from the JsonReader.
Parameters:
Returns:
Throws:
resourceId
public String resourceId()
Get the resourceId property: Resource ID.
Returns:
sourceType
public SourceType sourceType()
Get the sourceType property: Ingestion source type.
Returns:
toJson
withResourceId
public IngestionSourcesPropertiesFormat withResourceId(String resourceId)
Set the resourceId property: Resource ID.
Parameters:
Returns:
withSourceType
public IngestionSourcesPropertiesFormat withSourceType(SourceType sourceType)
Set the sourceType property: Ingestion source type.
Parameters:
Returns: