次の方法で共有


PartnerConfigurationUpdateParameters Class

  • java.lang.Object
    • com.azure.resourcemanager.eventgrid.models.PartnerConfigurationUpdateParameters

Implements

public final class PartnerConfigurationUpdateParameters
implements JsonSerializable<PartnerConfigurationUpdateParameters>

Properties of the partner configuration update.

Constructor Summary

Constructor Description
PartnerConfigurationUpdateParameters()

Creates an instance of PartnerConfigurationUpdateParameters class.

Method Summary

Modifier and Type Method and Description
Integer defaultMaximumExpirationTimeInDays()

Get the defaultMaximumExpirationTimeInDays property: The default time used to validate the maximum expiration time for each authorized partners in days.

static PartnerConfigurationUpdateParameters fromJson(JsonReader jsonReader)

Reads an instance of PartnerConfigurationUpdateParameters from the JsonReader.

Map<String,String> tags()

Get the tags property: Tags of the partner configuration resource.

JsonWriter toJson(JsonWriter jsonWriter)
void validate()

Validates the instance.

PartnerConfigurationUpdateParameters withDefaultMaximumExpirationTimeInDays(Integer defaultMaximumExpirationTimeInDays)

Set the defaultMaximumExpirationTimeInDays property: The default time used to validate the maximum expiration time for each authorized partners in days.

PartnerConfigurationUpdateParameters withTags(Map<String,String> tags)

Set the tags property: Tags of the partner configuration resource.

Methods inherited from java.lang.Object

Constructor Details

PartnerConfigurationUpdateParameters

public PartnerConfigurationUpdateParameters()

Creates an instance of PartnerConfigurationUpdateParameters class.

Method Details

defaultMaximumExpirationTimeInDays

public Integer defaultMaximumExpirationTimeInDays()

Get the defaultMaximumExpirationTimeInDays property: The default time used to validate the maximum expiration time for each authorized partners in days. Allowed values ar between 1 and 365 days.

Returns:

the defaultMaximumExpirationTimeInDays value.

fromJson

public static PartnerConfigurationUpdateParameters fromJson(JsonReader jsonReader)

Reads an instance of PartnerConfigurationUpdateParameters from the JsonReader.

Parameters:

jsonReader - The JsonReader being read.

Returns:

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

tags

public Map<String,String> tags()

Get the tags property: Tags of the partner configuration resource.

Returns:

the tags value.

toJson

public JsonWriter toJson(JsonWriter jsonWriter)

Parameters:

jsonWriter

Throws:

validate

public void validate()

Validates the instance.

withDefaultMaximumExpirationTimeInDays

public PartnerConfigurationUpdateParameters withDefaultMaximumExpirationTimeInDays(Integer defaultMaximumExpirationTimeInDays)

Set the defaultMaximumExpirationTimeInDays property: The default time used to validate the maximum expiration time for each authorized partners in days. Allowed values ar between 1 and 365 days.

Parameters:

defaultMaximumExpirationTimeInDays - the defaultMaximumExpirationTimeInDays value to set.

Returns:

the PartnerConfigurationUpdateParameters object itself.

withTags

public PartnerConfigurationUpdateParameters withTags(Map<String,String> tags)

Set the tags property: Tags of the partner configuration resource.

Parameters:

tags - the tags value to set.

Returns:

the PartnerConfigurationUpdateParameters object itself.

Applies to