Freigeben über


StaticSiteZipDeployment Class

  • java.lang.Object
    • com.azure.resourcemanager.appservice.fluent.models.StaticSiteZipDeployment

Implements

public final class StaticSiteZipDeployment
implements JsonSerializable<StaticSiteZipDeployment>

A static site zip deployment.

Constructor Summary

Constructor Description
StaticSiteZipDeployment()

Creates an instance of StaticSiteZipDeployment class.

Method Summary

Modifier and Type Method and Description
String apiZipUrl()

Get the apiZipUrl property: URL for the zipped api content.

String appZipUrl()

Get the appZipUrl property: URL for the zipped app content.

String deploymentTitle()

Get the deploymentTitle property: A title to label the deployment.

static StaticSiteZipDeployment fromJson(JsonReader jsonReader)

Reads an instance of StaticSiteZipDeployment from the JsonReader.

String functionLanguage()

Get the functionLanguage property: The language of the api content, if it exists.

String provider()

Get the provider property: The provider submitting this deployment.

JsonWriter toJson(JsonWriter jsonWriter)
void validate()

Validates the instance.

StaticSiteZipDeployment withApiZipUrl(String apiZipUrl)

Set the apiZipUrl property: URL for the zipped api content.

StaticSiteZipDeployment withAppZipUrl(String appZipUrl)

Set the appZipUrl property: URL for the zipped app content.

StaticSiteZipDeployment withDeploymentTitle(String deploymentTitle)

Set the deploymentTitle property: A title to label the deployment.

StaticSiteZipDeployment withFunctionLanguage(String functionLanguage)

Set the functionLanguage property: The language of the api content, if it exists.

StaticSiteZipDeployment withProvider(String provider)

Set the provider property: The provider submitting this deployment.

Methods inherited from java.lang.Object

Constructor Details

StaticSiteZipDeployment

public StaticSiteZipDeployment()

Creates an instance of StaticSiteZipDeployment class.

Method Details

apiZipUrl

public String apiZipUrl()

Get the apiZipUrl property: URL for the zipped api content.

Returns:

the apiZipUrl value.

appZipUrl

public String appZipUrl()

Get the appZipUrl property: URL for the zipped app content.

Returns:

the appZipUrl value.

deploymentTitle

public String deploymentTitle()

Get the deploymentTitle property: A title to label the deployment.

Returns:

the deploymentTitle value.

fromJson

public static StaticSiteZipDeployment fromJson(JsonReader jsonReader)

Reads an instance of StaticSiteZipDeployment from the JsonReader.

Parameters:

jsonReader - The JsonReader being read.

Returns:

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

functionLanguage

public String functionLanguage()

Get the functionLanguage property: The language of the api content, if it exists.

Returns:

the functionLanguage value.

provider

public String provider()

Get the provider property: The provider submitting this deployment.

Returns:

the provider value.

toJson

public JsonWriter toJson(JsonWriter jsonWriter)

Parameters:

jsonWriter

Throws:

validate

public void validate()

Validates the instance.

withApiZipUrl

public StaticSiteZipDeployment withApiZipUrl(String apiZipUrl)

Set the apiZipUrl property: URL for the zipped api content.

Parameters:

apiZipUrl - the apiZipUrl value to set.

Returns:

the StaticSiteZipDeployment object itself.

withAppZipUrl

public StaticSiteZipDeployment withAppZipUrl(String appZipUrl)

Set the appZipUrl property: URL for the zipped app content.

Parameters:

appZipUrl - the appZipUrl value to set.

Returns:

the StaticSiteZipDeployment object itself.

withDeploymentTitle

public StaticSiteZipDeployment withDeploymentTitle(String deploymentTitle)

Set the deploymentTitle property: A title to label the deployment.

Parameters:

deploymentTitle - the deploymentTitle value to set.

Returns:

the StaticSiteZipDeployment object itself.

withFunctionLanguage

public StaticSiteZipDeployment withFunctionLanguage(String functionLanguage)

Set the functionLanguage property: The language of the api content, if it exists.

Parameters:

functionLanguage - the functionLanguage value to set.

Returns:

the StaticSiteZipDeployment object itself.

withProvider

public StaticSiteZipDeployment withProvider(String provider)

Set the provider property: The provider submitting this deployment.

Parameters:

provider - the provider value to set.

Returns:

the StaticSiteZipDeployment object itself.

Applies to