StaticSitesWorkflowPreviewInner Class

public final class StaticSitesWorkflowPreviewInner
extends ProxyOnlyResource

Preview for the Static Site Workflow to be generated.

Constructor Summary

Constructor Description
StaticSitesWorkflowPreviewInner()

Creates an instance of StaticSitesWorkflowPreviewInner class.

Method Summary

Modifier and Type Method and Description
String contents()

Get the contents property: The contents for the workflow file to be generated.

static StaticSitesWorkflowPreviewInner fromJson(JsonReader jsonReader)

Reads an instance of StaticSitesWorkflowPreviewInner from the JsonReader.

String id()

Get the id property: Fully qualified resource Id for the resource.

String name()

Get the name property: The name of the resource.

String path()

Get the path property: The path for the workflow file to be generated.

JsonWriter toJson(JsonWriter jsonWriter)
String type()

Get the type property: The type of the resource.

void validate()

Validates the instance.

StaticSitesWorkflowPreviewInner withKind(String kind)

Set the kind property: Kind of resource.

Methods inherited from ProxyOnlyResource

Methods inherited from java.lang.Object

Constructor Details

StaticSitesWorkflowPreviewInner

public StaticSitesWorkflowPreviewInner()

Creates an instance of StaticSitesWorkflowPreviewInner class.

Method Details

contents

public String contents()

Get the contents property: The contents for the workflow file to be generated.

Returns:

the contents value.

fromJson

public static StaticSitesWorkflowPreviewInner fromJson(JsonReader jsonReader)

Reads an instance of StaticSitesWorkflowPreviewInner from the JsonReader.

Parameters:

jsonReader - The JsonReader being read.

Returns:

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

id

public String id()

Get the id property: Fully qualified resource Id for the resource.

Overrides:

StaticSitesWorkflowPreviewInner.id()

Returns:

the id value.

name

public String name()

Get the name property: The name of the resource.

Overrides:

StaticSitesWorkflowPreviewInner.name()

Returns:

the name value.

path

public String path()

Get the path property: The path for the workflow file to be generated.

Returns:

the path value.

toJson

public JsonWriter toJson(JsonWriter jsonWriter)

Overrides:

StaticSitesWorkflowPreviewInner.toJson(JsonWriter jsonWriter)

Parameters:

jsonWriter

Throws:

type

public String type()

Get the type property: The type of the resource.

Overrides:

StaticSitesWorkflowPreviewInner.type()

Returns:

the type value.

validate

public void validate()

Validates the instance.

Overrides:

StaticSitesWorkflowPreviewInner.validate()

withKind

public StaticSitesWorkflowPreviewInner withKind(String kind)

Set the kind property: Kind of resource.

Overrides:

StaticSitesWorkflowPreviewInner.withKind(String kind)

Parameters:

kind

Applies to