AdditionalWorkspacesProperties Class

  • java.lang.Object
    • com.azure.resourcemanager.security.models.AdditionalWorkspacesProperties

Implements

public final class AdditionalWorkspacesProperties
implements JsonSerializable<AdditionalWorkspacesProperties>

Properties of the additional workspaces.

Constructor Summary

Constructor Description
AdditionalWorkspacesProperties()

Creates an instance of AdditionalWorkspacesProperties class.

Method Summary

Modifier and Type Method and Description
List<AdditionalWorkspaceDataType> dataTypes()

Get the dataTypes property: List of data types sent to workspace.

static AdditionalWorkspacesProperties fromJson(JsonReader jsonReader)

Reads an instance of AdditionalWorkspacesProperties from the JsonReader.

JsonWriter toJson(JsonWriter jsonWriter)
AdditionalWorkspaceType type()

Get the type property: Workspace type.

void validate()

Validates the instance.

AdditionalWorkspacesProperties withDataTypes(List<AdditionalWorkspaceDataType> dataTypes)

Set the dataTypes property: List of data types sent to workspace.

AdditionalWorkspacesProperties withType(AdditionalWorkspaceType type)

Set the type property: Workspace type.

AdditionalWorkspacesProperties withWorkspace(String workspace)

Set the workspace property: Workspace resource id.

String workspace()

Get the workspace property: Workspace resource id.

Methods inherited from java.lang.Object

Constructor Details

AdditionalWorkspacesProperties

public AdditionalWorkspacesProperties()

Creates an instance of AdditionalWorkspacesProperties class.

Method Details

dataTypes

public List<AdditionalWorkspaceDataType> dataTypes()

Get the dataTypes property: List of data types sent to workspace.

Returns:

the dataTypes value.

fromJson

public static AdditionalWorkspacesProperties fromJson(JsonReader jsonReader)

Reads an instance of AdditionalWorkspacesProperties from the JsonReader.

Parameters:

jsonReader - The JsonReader being read.

Returns:

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

toJson

public JsonWriter toJson(JsonWriter jsonWriter)

Parameters:

jsonWriter

Throws:

type

public AdditionalWorkspaceType type()

Get the type property: Workspace type.

Returns:

the type value.

validate

public void validate()

Validates the instance.

withDataTypes

public AdditionalWorkspacesProperties withDataTypes(List<AdditionalWorkspaceDataType> dataTypes)

Set the dataTypes property: List of data types sent to workspace.

Parameters:

dataTypes - the dataTypes value to set.

Returns:

the AdditionalWorkspacesProperties object itself.

withType

public AdditionalWorkspacesProperties withType(AdditionalWorkspaceType type)

Set the type property: Workspace type.

Parameters:

type - the type value to set.

Returns:

the AdditionalWorkspacesProperties object itself.

withWorkspace

public AdditionalWorkspacesProperties withWorkspace(String workspace)

Set the workspace property: Workspace resource id.

Parameters:

workspace - the workspace value to set.

Returns:

the AdditionalWorkspacesProperties object itself.

workspace

public String workspace()

Get the workspace property: Workspace resource id.

Returns:

the workspace value.

Applies to