次の方法で共有


CacheRuleUpdateProperties Class

  • java.lang.Object
    • com.azure.resourcemanager.containerregistry.fluent.models.CacheRuleUpdateProperties

Implements

public final class CacheRuleUpdateProperties
implements JsonSerializable<CacheRuleUpdateProperties>

The parameters for updating cache rule properties.

Constructor Summary

Constructor Description
CacheRuleUpdateProperties()

Creates an instance of CacheRuleUpdateProperties class.

Method Summary

Modifier and Type Method and Description
String credentialSetResourceId()

Get the credentialSetResourceId property: The ARM resource ID of the credential store which is associated with the Cache rule.

static CacheRuleUpdateProperties fromJson(JsonReader jsonReader)

Reads an instance of CacheRuleUpdateProperties from the JsonReader.

JsonWriter toJson(JsonWriter jsonWriter)
void validate()

Validates the instance.

CacheRuleUpdateProperties withCredentialSetResourceId(String credentialSetResourceId)

Set the credentialSetResourceId property: The ARM resource ID of the credential store which is associated with the Cache rule.

Methods inherited from java.lang.Object

Constructor Details

CacheRuleUpdateProperties

public CacheRuleUpdateProperties()

Creates an instance of CacheRuleUpdateProperties class.

Method Details

credentialSetResourceId

public String credentialSetResourceId()

Get the credentialSetResourceId property: The ARM resource ID of the credential store which is associated with the Cache rule.

Returns:

the credentialSetResourceId value.

fromJson

public static CacheRuleUpdateProperties fromJson(JsonReader jsonReader)

Reads an instance of CacheRuleUpdateProperties from the JsonReader.

Parameters:

jsonReader - The JsonReader being read.

Returns:

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

toJson

public JsonWriter toJson(JsonWriter jsonWriter)

Parameters:

jsonWriter

Throws:

validate

public void validate()

Validates the instance.

withCredentialSetResourceId

public CacheRuleUpdateProperties withCredentialSetResourceId(String credentialSetResourceId)

Set the credentialSetResourceId property: The ARM resource ID of the credential store which is associated with the Cache rule.

Parameters:

credentialSetResourceId - the credentialSetResourceId value to set.

Returns:

the CacheRuleUpdateProperties object itself.

Applies to