FunctionInner Class

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 FunctionInner class.

Method Summary

Modifier and Type Method and 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.

Methods inherited from SubResource

Methods inherited from java.lang.Object

Constructor Details

FunctionInner

public FunctionInner()

Creates an instance of FunctionInner class.

Method Details

name

public String name()

Get the name property: Resource name.

Returns:

the name value.

properties

public FunctionProperties properties()

Get the properties property: The properties that are associated with a function.

Returns:

the properties value.

type

public String type()

Get the type property: Resource type.

Returns:

the type value.

validate

public void validate()

Validates the instance.

withId

public FunctionInner withId(String id)

Overrides:

FunctionInner.withId(String id)

Parameters:

id

withName

public FunctionInner withName(String name)

Set the name property: Resource name.

Parameters:

name - the name value to set.

Returns:

the FunctionInner object itself.

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.

Applies to