EnvironmentContainerProperties Class

public final class EnvironmentContainerProperties
extends AssetContainer

Container for environment specification versions.

Constructor Summary

Constructor Description
EnvironmentContainerProperties()

Creates an instance of EnvironmentContainerProperties class.

Method Summary

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

Reads an instance of EnvironmentContainerProperties from the JsonReader.

String latestVersion()

Get the latestVersion property: The latest version inside this container.

String nextVersion()

Get the nextVersion property: The next auto incremental version.

AssetProvisioningState provisioningState()

Get the provisioningState property: Provisioning state for the environment container.

JsonWriter toJson(JsonWriter jsonWriter)
void validate()

Validates the instance.

EnvironmentContainerProperties withDescription(String description)

Set the description property: The asset description text.

EnvironmentContainerProperties withIsArchived(Boolean isArchived)

Set the isArchived property: Is the asset archived?.

EnvironmentContainerProperties withProperties(Map<String,String> properties)

Set the properties property: The asset property dictionary.

EnvironmentContainerProperties withTags(Map<String,String> tags)

Set the tags property: Tag dictionary.

Methods inherited from AssetContainer

Methods inherited from ResourceBase

Methods inherited from java.lang.Object

Constructor Details

EnvironmentContainerProperties

public EnvironmentContainerProperties()

Creates an instance of EnvironmentContainerProperties class.

Method Details

fromJson

public static EnvironmentContainerProperties fromJson(JsonReader jsonReader)

Reads an instance of EnvironmentContainerProperties from the JsonReader.

Parameters:

jsonReader - The JsonReader being read.

Returns:

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

latestVersion

public String latestVersion()

Get the latestVersion property: The latest version inside this container.

Overrides:

EnvironmentContainerProperties.latestVersion()

Returns:

the latestVersion value.

nextVersion

public String nextVersion()

Get the nextVersion property: The next auto incremental version.

Overrides:

EnvironmentContainerProperties.nextVersion()

Returns:

the nextVersion value.

provisioningState

public AssetProvisioningState provisioningState()

Get the provisioningState property: Provisioning state for the environment container.

Returns:

the provisioningState value.

toJson

public JsonWriter toJson(JsonWriter jsonWriter)

Overrides:

EnvironmentContainerProperties.toJson(JsonWriter jsonWriter)

Parameters:

jsonWriter

Throws:

validate

public void validate()

Validates the instance.

Overrides:

EnvironmentContainerProperties.validate()

withDescription

public EnvironmentContainerProperties withDescription(String description)

Set the description property: The asset description text.

Overrides:

EnvironmentContainerProperties.withDescription(String description)

Parameters:

description

withIsArchived

public EnvironmentContainerProperties withIsArchived(Boolean isArchived)

Set the isArchived property: Is the asset archived?.

Overrides:

EnvironmentContainerProperties.withIsArchived(Boolean isArchived)

Parameters:

isArchived

withProperties

public EnvironmentContainerProperties withProperties(Map<String,String> properties)

Set the properties property: The asset property dictionary.

Overrides:

EnvironmentContainerProperties.withProperties(Map<String,String> properties)

Parameters:

properties

withTags

public EnvironmentContainerProperties withTags(Map<String,String> tags)

Set the tags property: Tag dictionary. Tags can be added, removed, and updated.

Overrides:

EnvironmentContainerProperties.withTags(Map<String,String> tags)

Parameters:

tags

Applies to