SsisEnvironment Class

public final class SsisEnvironment
extends SsisObjectMetadata

Ssis environment.

Constructor Summary

Constructor Description
SsisEnvironment()

Creates an instance of SsisEnvironment class.

Method Summary

Modifier and Type Method and Description
Long folderId()

Get the folderId property: Folder id which contains environment.

static SsisEnvironment fromJson(JsonReader jsonReader)

Reads an instance of SsisEnvironment from the JsonReader.

JsonWriter toJson(JsonWriter jsonWriter)
SsisObjectMetadataType type()

Get the type property: Type of metadata.

void validate()

Validates the instance.

List<SsisVariable> variables()

Get the variables property: Variable in environment.

SsisEnvironment withDescription(String description)

Set the description property: Metadata description.

SsisEnvironment withFolderId(Long folderId)

Set the folderId property: Folder id which contains environment.

SsisEnvironment withId(Long id)

Set the id property: Metadata id.

SsisEnvironment withName(String name)

Set the name property: Metadata name.

SsisEnvironment withVariables(List<SsisVariable> variables)

Set the variables property: Variable in environment.

Methods inherited from SsisObjectMetadata

Methods inherited from java.lang.Object

Constructor Details

SsisEnvironment

public SsisEnvironment()

Creates an instance of SsisEnvironment class.

Method Details

folderId

public Long folderId()

Get the folderId property: Folder id which contains environment.

Returns:

the folderId value.

fromJson

public static SsisEnvironment fromJson(JsonReader jsonReader)

Reads an instance of SsisEnvironment from the JsonReader.

Parameters:

jsonReader - The JsonReader being read.

Returns:

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

toJson

public JsonWriter toJson(JsonWriter jsonWriter)

Overrides:

SsisEnvironment.toJson(JsonWriter jsonWriter)

Parameters:

jsonWriter

Throws:

type

public SsisObjectMetadataType type()

Get the type property: Type of metadata.

Overrides:

SsisEnvironment.type()

Returns:

the type value.

validate

public void validate()

Validates the instance.

Overrides:

SsisEnvironment.validate()

variables

public List<SsisVariable> variables()

Get the variables property: Variable in environment.

Returns:

the variables value.

withDescription

public SsisEnvironment withDescription(String description)

Set the description property: Metadata description.

Overrides:

SsisEnvironment.withDescription(String description)

Parameters:

description

withFolderId

public SsisEnvironment withFolderId(Long folderId)

Set the folderId property: Folder id which contains environment.

Parameters:

folderId - the folderId value to set.

Returns:

the SsisEnvironment object itself.

withId

public SsisEnvironment withId(Long id)

Set the id property: Metadata id.

Overrides:

SsisEnvironment.withId(Long id)

Parameters:

id

withName

public SsisEnvironment withName(String name)

Set the name property: Metadata name.

Overrides:

SsisEnvironment.withName(String name)

Parameters:

name

withVariables

public SsisEnvironment withVariables(List<SsisVariable> variables)

Set the variables property: Variable in environment.

Parameters:

variables - the variables value to set.

Returns:

the SsisEnvironment object itself.

Applies to