DeploymentExtensionSpecProperties Class

  • java.lang.Object
    • com.azure.resourcemanager.containerinstance.fluent.models.DeploymentExtensionSpecProperties

Implements

public final class DeploymentExtensionSpecProperties
implements JsonSerializable<DeploymentExtensionSpecProperties>

Extension specific properties.

Constructor Summary

Constructor Description
DeploymentExtensionSpecProperties()

Creates an instance of DeploymentExtensionSpecProperties class.

Method Summary

Modifier and Type Method and Description
String extensionType()

Get the extensionType property: Type of extension to be added.

static DeploymentExtensionSpecProperties fromJson(JsonReader jsonReader)

Reads an instance of DeploymentExtensionSpecProperties from the JsonReader.

Object protectedSettings()

Get the protectedSettings property: Protected settings for the extension.

Object settings()

Get the settings property: Settings for the extension.

JsonWriter toJson(JsonWriter jsonWriter)
void validate()

Validates the instance.

String version()

Get the version property: Version of the extension being used.

DeploymentExtensionSpecProperties withExtensionType(String extensionType)

Set the extensionType property: Type of extension to be added.

DeploymentExtensionSpecProperties withProtectedSettings(Object protectedSettings)

Set the protectedSettings property: Protected settings for the extension.

DeploymentExtensionSpecProperties withSettings(Object settings)

Set the settings property: Settings for the extension.

DeploymentExtensionSpecProperties withVersion(String version)

Set the version property: Version of the extension being used.

Methods inherited from java.lang.Object

Constructor Details

DeploymentExtensionSpecProperties

public DeploymentExtensionSpecProperties()

Creates an instance of DeploymentExtensionSpecProperties class.

Method Details

extensionType

public String extensionType()

Get the extensionType property: Type of extension to be added.

Returns:

the extensionType value.

fromJson

public static DeploymentExtensionSpecProperties fromJson(JsonReader jsonReader)

Reads an instance of DeploymentExtensionSpecProperties from the JsonReader.

Parameters:

jsonReader - The JsonReader being read.

Returns:

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

protectedSettings

public Object protectedSettings()

Get the protectedSettings property: Protected settings for the extension.

Returns:

the protectedSettings value.

settings

public Object settings()

Get the settings property: Settings for the extension.

Returns:

the settings value.

toJson

public JsonWriter toJson(JsonWriter jsonWriter)

Parameters:

jsonWriter

Throws:

validate

public void validate()

Validates the instance.

version

public String version()

Get the version property: Version of the extension being used.

Returns:

the version value.

withExtensionType

public DeploymentExtensionSpecProperties withExtensionType(String extensionType)

Set the extensionType property: Type of extension to be added.

Parameters:

extensionType - the extensionType value to set.

Returns:

the DeploymentExtensionSpecProperties object itself.

withProtectedSettings

public DeploymentExtensionSpecProperties withProtectedSettings(Object protectedSettings)

Set the protectedSettings property: Protected settings for the extension.

Parameters:

protectedSettings - the protectedSettings value to set.

Returns:

the DeploymentExtensionSpecProperties object itself.

withSettings

public DeploymentExtensionSpecProperties withSettings(Object settings)

Set the settings property: Settings for the extension.

Parameters:

settings - the settings value to set.

Returns:

the DeploymentExtensionSpecProperties object itself.

withVersion

public DeploymentExtensionSpecProperties withVersion(String version)

Set the version property: Version of the extension being used.

Parameters:

version - the version value to set.

Returns:

the DeploymentExtensionSpecProperties object itself.

Applies to