WorkloadClassifierInner Class

public final class WorkloadClassifierInner
extends ProxyResource

Workload classifier operations for a data warehouse.

Constructor Summary

Constructor Description
WorkloadClassifierInner()

Creates an instance of WorkloadClassifierInner class.

Method Summary

Modifier and Type Method and Description
String context()

Get the context property: The workload classifier context.

String endTime()

Get the endTime property: The workload classifier end time for classification.

static WorkloadClassifierInner fromJson(JsonReader jsonReader)

Reads an instance of WorkloadClassifierInner from the JsonReader.

String id()

Get the id property: Fully qualified resource Id for the resource.

String importance()

Get the importance property: The workload classifier importance.

String label()

Get the label property: The workload classifier label.

String memberName()

Get the memberName property: The workload classifier member name.

String name()

Get the name property: The name of the resource.

String startTime()

Get the startTime property: The workload classifier start time for classification.

JsonWriter toJson(JsonWriter jsonWriter)
String type()

Get the type property: The type of the resource.

void validate()

Validates the instance.

WorkloadClassifierInner withContext(String context)

Set the context property: The workload classifier context.

WorkloadClassifierInner withEndTime(String endTime)

Set the endTime property: The workload classifier end time for classification.

WorkloadClassifierInner withImportance(String importance)

Set the importance property: The workload classifier importance.

WorkloadClassifierInner withLabel(String label)

Set the label property: The workload classifier label.

WorkloadClassifierInner withMemberName(String memberName)

Set the memberName property: The workload classifier member name.

WorkloadClassifierInner withStartTime(String startTime)

Set the startTime property: The workload classifier start time for classification.

Methods inherited from ProxyResource

Methods inherited from java.lang.Object

Constructor Details

WorkloadClassifierInner

public WorkloadClassifierInner()

Creates an instance of WorkloadClassifierInner class.

Method Details

context

public String context()

Get the context property: The workload classifier context.

Returns:

the context value.

endTime

public String endTime()

Get the endTime property: The workload classifier end time for classification.

Returns:

the endTime value.

fromJson

public static WorkloadClassifierInner fromJson(JsonReader jsonReader)

Reads an instance of WorkloadClassifierInner from the JsonReader.

Parameters:

jsonReader - The JsonReader being read.

Returns:

An instance of WorkloadClassifierInner if the JsonReader was pointing to an instance of it, or null if it was pointing to JSON null.

Throws:

IOException

- If the deserialized JSON object was missing any required properties.

id

public String id()

Get the id property: Fully qualified resource Id for the resource.

Overrides:

WorkloadClassifierInner.id()

Returns:

the id value.

importance

public String importance()

Get the importance property: The workload classifier importance.

Returns:

the importance value.

label

public String label()

Get the label property: The workload classifier label.

Returns:

the label value.

memberName

public String memberName()

Get the memberName property: The workload classifier member name.

Returns:

the memberName value.

name

public String name()

Get the name property: The name of the resource.

Overrides:

WorkloadClassifierInner.name()

Returns:

the name value.

startTime

public String startTime()

Get the startTime property: The workload classifier start time for classification.

Returns:

the startTime value.

toJson

public JsonWriter toJson(JsonWriter jsonWriter)

Overrides:

WorkloadClassifierInner.toJson(JsonWriter jsonWriter)

Parameters:

jsonWriter

Throws:

type

public String type()

Get the type property: The type of the resource.

Overrides:

WorkloadClassifierInner.type()

Returns:

the type value.

validate

public void validate()

Validates the instance.

withContext

public WorkloadClassifierInner withContext(String context)

Set the context property: The workload classifier context.

Parameters:

context - the context value to set.

Returns:

the WorkloadClassifierInner object itself.

withEndTime

public WorkloadClassifierInner withEndTime(String endTime)

Set the endTime property: The workload classifier end time for classification.

Parameters:

endTime - the endTime value to set.

Returns:

the WorkloadClassifierInner object itself.

withImportance

public WorkloadClassifierInner withImportance(String importance)

Set the importance property: The workload classifier importance.

Parameters:

importance - the importance value to set.

Returns:

the WorkloadClassifierInner object itself.

withLabel

public WorkloadClassifierInner withLabel(String label)

Set the label property: The workload classifier label.

Parameters:

label - the label value to set.

Returns:

the WorkloadClassifierInner object itself.

withMemberName

public WorkloadClassifierInner withMemberName(String memberName)

Set the memberName property: The workload classifier member name.

Parameters:

memberName - the memberName value to set.

Returns:

the WorkloadClassifierInner object itself.

withStartTime

public WorkloadClassifierInner withStartTime(String startTime)

Set the startTime property: The workload classifier start time for classification.

Parameters:

startTime - the startTime value to set.

Returns:

the WorkloadClassifierInner object itself.

Applies to