InputInner Class

public final class InputInner
extends SubResource

An input object, containing all information associated with the named input. All inputs are contained under a streaming job.

Constructor Summary

Constructor Description
InputInner()

Creates an instance of InputInner class.

Method Summary

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

Reads an instance of InputInner from the JsonReader.

String name()

Get the name property: Resource name.

InputProperties properties()

Get the properties property: The properties that are associated with an input.

JsonWriter toJson(JsonWriter jsonWriter)
String type()

Get the type property: Resource type.

void validate()

Validates the instance.

InputInner withId(String id)
InputInner withName(String name)

Set the name property: Resource name.

InputInner withProperties(InputProperties properties)

Set the properties property: The properties that are associated with an input.

Methods inherited from SubResource

Methods inherited from java.lang.Object

Constructor Details

InputInner

public InputInner()

Creates an instance of InputInner class.

Method Details

fromJson

public static InputInner fromJson(JsonReader jsonReader)

Reads an instance of InputInner from the JsonReader.

Parameters:

jsonReader - The JsonReader being read.

Returns:

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

name

public String name()

Get the name property: Resource name.

Returns:

the name value.

properties

public InputProperties properties()

Get the properties property: The properties that are associated with an input. Required on PUT (CreateOrReplace) requests.

Returns:

the properties value.

toJson

public JsonWriter toJson(JsonWriter jsonWriter)

Overrides:

InputInner.toJson(JsonWriter jsonWriter)

Parameters:

jsonWriter

Throws:

type

public String type()

Get the type property: Resource type.

Returns:

the type value.

validate

public void validate()

Validates the instance.

withId

public InputInner withId(String id)

Overrides:

InputInner.withId(String id)

Parameters:

id

withName

public InputInner withName(String name)

Set the name property: Resource name.

Parameters:

name - the name value to set.

Returns:

the InputInner object itself.

withProperties

public InputInner withProperties(InputProperties properties)

Set the properties property: The properties that are associated with an input. Required on PUT (CreateOrReplace) requests.

Parameters:

properties - the properties value to set.

Returns:

the InputInner object itself.

Applies to