FunctionInner Class
- java.
lang. Object - com.
azure. core. management. SubResource - com.
azure. resourcemanager. streamanalytics. fluent. models. FunctionInner
- com.
- com.
public final class FunctionInner
extends SubResource
A function object, containing all information associated with the named function. All functions are contained under a streaming job.
Constructor Summary
| Constructor | Description |
|---|---|
| FunctionInner() |
Creates an instance of Function |
Method Summary
| Modifier and Type | Method and Description |
|---|---|
|
static
Function |
fromJson(JsonReader jsonReader)
Reads an instance of Function |
| String |
name()
Get the name property: Resource name. |
|
Function |
properties()
Get the properties property: The properties that are associated with a function. |
|
Json |
toJson(JsonWriter jsonWriter) |
| String |
type()
Get the type property: Resource type. |
| void |
validate()
Validates the instance. |
|
Function |
withId(String id) |
|
Function |
withName(String name)
Set the name property: Resource name. |
|
Function |
withProperties(FunctionProperties properties)
Set the properties property: The properties that are associated with a function. |
Methods inherited from SubResource
Methods inherited from java.lang.Object
Constructor Details
FunctionInner
public FunctionInner()
Creates an instance of FunctionInner class.
Method Details
fromJson
public static FunctionInner fromJson(JsonReader jsonReader)
Reads an instance of FunctionInner from the JsonReader.
Parameters:
Returns:
Throws:
name
public String name()
Get the name property: Resource name.
Returns:
properties
public FunctionProperties properties()
Get the properties property: The properties that are associated with a function.
Returns:
toJson
public JsonWriter toJson(JsonWriter jsonWriter)
Overrides:
FunctionInner.toJson(JsonWriter jsonWriter)Parameters:
Throws:
type
public String type()
Get the type property: Resource type.
Returns:
validate
public void validate()
Validates the instance.
withId
public FunctionInner withId(String id)
Overrides:
FunctionInner.withId(String id)Parameters:
withName
public FunctionInner withName(String name)
Set the name property: Resource name.
Parameters:
Returns:
withProperties
public FunctionInner withProperties(FunctionProperties properties)
Set the properties property: The properties that are associated with a function.
Parameters:
Returns: