ConfidentialComputeProperties Class

  • java.lang.Object
    • com.azure.resourcemanager.containerinstance.models.ConfidentialComputeProperties

Implements

public final class ConfidentialComputeProperties
implements JsonSerializable<ConfidentialComputeProperties>

The properties for confidential container group.

Constructor Summary

Constructor Description
ConfidentialComputeProperties()

Creates an instance of ConfidentialComputeProperties class.

Method Summary

Modifier and Type Method and Description
String ccePolicy()

Get the ccePolicy property: The base64 encoded confidential compute enforcement policy.

static ConfidentialComputeProperties fromJson(JsonReader jsonReader)

Reads an instance of ConfidentialComputeProperties from the JsonReader.

JsonWriter toJson(JsonWriter jsonWriter)
void validate()

Validates the instance.

ConfidentialComputeProperties withCcePolicy(String ccePolicy)

Set the ccePolicy property: The base64 encoded confidential compute enforcement policy.

Methods inherited from java.lang.Object

Constructor Details

ConfidentialComputeProperties

public ConfidentialComputeProperties()

Creates an instance of ConfidentialComputeProperties class.

Method Details

ccePolicy

public String ccePolicy()

Get the ccePolicy property: The base64 encoded confidential compute enforcement policy.

Returns:

the ccePolicy value.

fromJson

public static ConfidentialComputeProperties fromJson(JsonReader jsonReader)

Reads an instance of ConfidentialComputeProperties from the JsonReader.

Parameters:

jsonReader - The JsonReader being read.

Returns:

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

toJson

public JsonWriter toJson(JsonWriter jsonWriter)

Parameters:

jsonWriter

Throws:

validate

public void validate()

Validates the instance.

withCcePolicy

public ConfidentialComputeProperties withCcePolicy(String ccePolicy)

Set the ccePolicy property: The base64 encoded confidential compute enforcement policy.

Parameters:

ccePolicy - the ccePolicy value to set.

Returns:

the ConfidentialComputeProperties object itself.

Applies to