Class SharedAccessAuthorizationRuleProperties
- java.lang.Object
-
- com.azure.resourcemanager.notificationhubs.fluent.models.SharedAccessAuthorizationRuleProperties
-
public final class SharedAccessAuthorizationRuleProperties extends Object
SharedAccessAuthorizationRule properties.
-
-
Constructor Summary
Constructors Constructor Description SharedAccessAuthorizationRuleProperties()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description String
claimType()
Get the claimType property: A string that describes the claim type.String
claimValue()
Get the claimValue property: A string that describes the claim value.String
createdTime()
Get the createdTime property: The created time for this rule.String
keyName()
Get the keyName property: A string that describes the authorization rule.String
modifiedTime()
Get the modifiedTime property: The last modified time for this rule.String
primaryKey()
Get the primaryKey property: A base64-encoded 256-bit primary key for signing and validating the SAS token.Integer
revision()
Get the revision property: The revision number for the rule.List<AccessRights>
rights()
Get the rights property: The rights associated with the rule.String
secondaryKey()
Get the secondaryKey property: A base64-encoded 256-bit primary key for signing and validating the SAS token.void
validate()
Validates the instance.SharedAccessAuthorizationRuleProperties
withRights(List<AccessRights> rights)
Set the rights property: The rights associated with the rule.
-
-
-
Method Detail
-
rights
public List<AccessRights> rights()
Get the rights property: The rights associated with the rule.- Returns:
- the rights value.
-
withRights
public SharedAccessAuthorizationRuleProperties withRights(List<AccessRights> rights)
Set the rights property: The rights associated with the rule.- Parameters:
rights
- the rights value to set.- Returns:
- the SharedAccessAuthorizationRuleProperties object itself.
-
primaryKey
public String primaryKey()
Get the primaryKey property: A base64-encoded 256-bit primary key for signing and validating the SAS token.- Returns:
- the primaryKey value.
-
secondaryKey
public String secondaryKey()
Get the secondaryKey property: A base64-encoded 256-bit primary key for signing and validating the SAS token.- Returns:
- the secondaryKey value.
-
keyName
public String keyName()
Get the keyName property: A string that describes the authorization rule.- Returns:
- the keyName value.
-
claimType
public String claimType()
Get the claimType property: A string that describes the claim type.- Returns:
- the claimType value.
-
claimValue
public String claimValue()
Get the claimValue property: A string that describes the claim value.- Returns:
- the claimValue value.
-
modifiedTime
public String modifiedTime()
Get the modifiedTime property: The last modified time for this rule.- Returns:
- the modifiedTime value.
-
createdTime
public String createdTime()
Get the createdTime property: The created time for this rule.- Returns:
- the createdTime value.
-
revision
public Integer revision()
Get the revision property: The revision number for the rule.- Returns:
- the revision value.
-
validate
public void validate()
Validates the instance.- Throws:
IllegalArgumentException
- thrown if the instance is not valid.
-
-