Class SharedAccessAuthorizationRule
- java.lang.Object
-
- com.microsoft.azure.servicebus.management.AuthorizationRule
-
- com.microsoft.azure.servicebus.management.SharedAccessAuthorizationRule
-
public class SharedAccessAuthorizationRule extends AuthorizationRule
-
-
Constructor Summary
Constructors Constructor Description SharedAccessAuthorizationRule(String keyName, String primaryKey, String secondaryKey, List<AccessRights> rights)
SharedAccessAuthorizationRule(String keyName, String primaryKey, List<AccessRights> rights)
SharedAccessAuthorizationRule(String keyName, List<AccessRights> rights)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description boolean
equals(Object o)
String
getClaimType()
String
getKeyName()
String
getPrimaryKey()
List<AccessRights>
getRights()
String
getSecondaryKey()
int
hashCode()
void
setKeyName(String keyName)
void
setPrimaryKey(String primaryKey)
void
setRights(List<AccessRights> rights)
void
setSecondaryKey(String secondaryKey)
-
Methods inherited from class com.microsoft.azure.servicebus.management.AuthorizationRule
getCreatedTime, getModifiedTime
-
-
-
-
Constructor Detail
-
SharedAccessAuthorizationRule
public SharedAccessAuthorizationRule(String keyName, List<AccessRights> rights)
-
SharedAccessAuthorizationRule
public SharedAccessAuthorizationRule(String keyName, String primaryKey, List<AccessRights> rights)
-
SharedAccessAuthorizationRule
public SharedAccessAuthorizationRule(String keyName, String primaryKey, String secondaryKey, List<AccessRights> rights)
-
-
Method Detail
-
getClaimType
public String getClaimType()
- Specified by:
getClaimType
in classAuthorizationRule
-
getKeyName
public String getKeyName()
- Specified by:
getKeyName
in classAuthorizationRule
-
setKeyName
public void setKeyName(String keyName)
- Specified by:
setKeyName
in classAuthorizationRule
-
getPrimaryKey
public String getPrimaryKey()
-
setPrimaryKey
public void setPrimaryKey(String primaryKey)
-
getSecondaryKey
public String getSecondaryKey()
-
setSecondaryKey
public void setSecondaryKey(String secondaryKey)
-
getRights
public List<AccessRights> getRights()
- Specified by:
getRights
in classAuthorizationRule
-
setRights
public void setRights(List<AccessRights> rights)
- Specified by:
setRights
in classAuthorizationRule
-
-