Class FunctionInner
- java.lang.Object
-
- com.azure.core.management.SubResource
-
- com.azure.resourcemanager.streamanalytics.fluent.models.FunctionInner
-
public final class FunctionInner extends com.azure.core.management.SubResource
A function object, containing all information associated with the named function. All functions are contained under a streaming job.
-
-
Constructor Summary
Constructors Constructor Description FunctionInner()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description String
name()
Get the name property: Resource name.FunctionProperties
properties()
Get the properties property: The properties that are associated with a function.String
type()
Get the type property: Resource type.void
validate()
Validates the instance.FunctionInner
withId(String id)
FunctionInner
withName(String name)
Set the name property: Resource name.FunctionInner
withProperties(FunctionProperties properties)
Set the properties property: The properties that are associated with a function.
-
-
-
Method Detail
-
properties
public FunctionProperties properties()
Get the properties property: The properties that are associated with a function.- Returns:
- the properties value.
-
withProperties
public FunctionInner withProperties(FunctionProperties properties)
Set the properties property: The properties that are associated with a function.- Parameters:
properties
- the properties value to set.- Returns:
- the FunctionInner object itself.
-
name
public String name()
Get the name property: Resource name.- Returns:
- the name value.
-
withName
public FunctionInner withName(String name)
Set the name property: Resource name.- Parameters:
name
- the name value to set.- Returns:
- the FunctionInner object itself.
-
type
public String type()
Get the type property: Resource type.- Returns:
- the type value.
-
withId
public FunctionInner withId(String id)
- Overrides:
withId
in classcom.azure.core.management.SubResource
-
validate
public void validate()
Validates the instance.- Throws:
IllegalArgumentException
- thrown if the instance is not valid.
-
-