GalleryApplicationVersionSafetyProfile Class

public final class GalleryApplicationVersionSafetyProfile
extends GalleryArtifactSafetyProfileBase

The safety profile of the Gallery Application Version.

Constructor Summary

Constructor Description
GalleryApplicationVersionSafetyProfile()

Creates an instance of GalleryApplicationVersionSafetyProfile class.

Method Summary

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

Reads an instance of GalleryApplicationVersionSafetyProfile from the JsonReader.

JsonWriter toJson(JsonWriter jsonWriter)
void validate()

Validates the instance.

GalleryApplicationVersionSafetyProfile withAllowDeletionOfReplicatedLocations(Boolean allowDeletionOfReplicatedLocations)

Set the allowDeletionOfReplicatedLocations property: Indicates whether or not removing this Gallery Image Version from replicated regions is allowed.

Methods inherited from GalleryArtifactSafetyProfileBase

Methods inherited from java.lang.Object

Constructor Details

GalleryApplicationVersionSafetyProfile

public GalleryApplicationVersionSafetyProfile()

Creates an instance of GalleryApplicationVersionSafetyProfile class.

Method Details

fromJson

public static GalleryApplicationVersionSafetyProfile fromJson(JsonReader jsonReader)

Reads an instance of GalleryApplicationVersionSafetyProfile from the JsonReader.

Parameters:

jsonReader - The JsonReader being read.

Returns:

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

toJson

public JsonWriter toJson(JsonWriter jsonWriter)

Overrides:

GalleryApplicationVersionSafetyProfile.toJson(JsonWriter jsonWriter)

Parameters:

jsonWriter

Throws:

validate

public void validate()

Validates the instance.

Overrides:

GalleryApplicationVersionSafetyProfile.validate()

withAllowDeletionOfReplicatedLocations

public GalleryApplicationVersionSafetyProfile withAllowDeletionOfReplicatedLocations(Boolean allowDeletionOfReplicatedLocations)

Set the allowDeletionOfReplicatedLocations property: Indicates whether or not removing this Gallery Image Version from replicated regions is allowed.

Overrides:

GalleryApplicationVersionSafetyProfile.withAllowDeletionOfReplicatedLocations(Boolean allowDeletionOfReplicatedLocations)

Parameters:

allowDeletionOfReplicatedLocations

Applies to