Class PartnerAuthorization
java.lang.Object
com.azure.resourcemanager.eventgrid.models.PartnerAuthorization
The partner authorization details.
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionGet the authorizedPartnersList property: The list of authorized partners.Get the defaultMaximumExpirationTimeInDays property: Time used to validate the authorization expiration time for each authorized partner.void
validate()
Validates the instance.withAuthorizedPartnersList
(List<Partner> authorizedPartnersList) Set the authorizedPartnersList property: The list of authorized partners.withDefaultMaximumExpirationTimeInDays
(Integer defaultMaximumExpirationTimeInDays) Set the defaultMaximumExpirationTimeInDays property: Time used to validate the authorization expiration time for each authorized partner.
-
Constructor Details
-
PartnerAuthorization
public PartnerAuthorization()
-
-
Method Details
-
defaultMaximumExpirationTimeInDays
Get the defaultMaximumExpirationTimeInDays property: Time used to validate the authorization expiration time for each authorized partner. If DefaultMaximumExpirationTimeInDays is not specified, the default is 7 days. Otherwise, allowed values are between 1 and 365 days.- Returns:
- the defaultMaximumExpirationTimeInDays value.
-
withDefaultMaximumExpirationTimeInDays
public PartnerAuthorization withDefaultMaximumExpirationTimeInDays(Integer defaultMaximumExpirationTimeInDays) Set the defaultMaximumExpirationTimeInDays property: Time used to validate the authorization expiration time for each authorized partner. If DefaultMaximumExpirationTimeInDays is not specified, the default is 7 days. Otherwise, allowed values are between 1 and 365 days.- Parameters:
defaultMaximumExpirationTimeInDays
- the defaultMaximumExpirationTimeInDays value to set.- Returns:
- the PartnerAuthorization object itself.
-
authorizedPartnersList
Get the authorizedPartnersList property: The list of authorized partners.- Returns:
- the authorizedPartnersList value.
-
withAuthorizedPartnersList
Set the authorizedPartnersList property: The list of authorized partners.- Parameters:
authorizedPartnersList
- the authorizedPartnersList value to set.- Returns:
- the PartnerAuthorization object itself.
-
validate
public void validate()Validates the instance.- Throws:
IllegalArgumentException
- thrown if the instance is not valid.
-