IngestionSourcesPropertiesFormat Class

  • java.lang.Object
    • com.azure.resourcemanager.networkfunction.models.IngestionSourcesPropertiesFormat

Implements

public final class IngestionSourcesPropertiesFormat
implements JsonSerializable<IngestionSourcesPropertiesFormat>

Ingestion policy properties.

Constructor Summary

Constructor Description
IngestionSourcesPropertiesFormat()

Creates an instance of IngestionSourcesPropertiesFormat class.

Method Summary

Modifier and Type Method and Description
static IngestionSourcesPropertiesFormat fromJson(JsonReader jsonReader)

Reads an instance of IngestionSourcesPropertiesFormat from the JsonReader.

String resourceId()

Get the resourceId property: Resource ID.

SourceType sourceType()

Get the sourceType property: Ingestion source type.

JsonWriter toJson(JsonWriter jsonWriter)
IngestionSourcesPropertiesFormat withResourceId(String resourceId)

Set the resourceId property: Resource ID.

IngestionSourcesPropertiesFormat withSourceType(SourceType sourceType)

Set the sourceType property: Ingestion source type.

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:

jsonReader - The JsonReader being read.

Returns:

An instance of IngestionSourcesPropertiesFormat 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 IngestionSourcesPropertiesFormat.

resourceId

public String resourceId()

Get the resourceId property: Resource ID.

Returns:

the resourceId value.

sourceType

public SourceType sourceType()

Get the sourceType property: Ingestion source type.

Returns:

the sourceType value.

toJson

public JsonWriter toJson(JsonWriter jsonWriter)

Parameters:

jsonWriter

Throws:

withResourceId

public IngestionSourcesPropertiesFormat withResourceId(String resourceId)

Set the resourceId property: Resource ID.

Parameters:

resourceId - the resourceId value to set.

Returns:

the IngestionSourcesPropertiesFormat object itself.

withSourceType

public IngestionSourcesPropertiesFormat withSourceType(SourceType sourceType)

Set the sourceType property: Ingestion source type.

Parameters:

sourceType - the sourceType value to set.

Returns:

the IngestionSourcesPropertiesFormat object itself.

Applies to