Class SharedAccessAuthorizationRuleResourceInner
- java.lang.Object
-
- com.azure.core.management.ProxyResource
-
- com.azure.core.management.Resource
-
- com.azure.resourcemanager.notificationhubs.fluent.models.SharedAccessAuthorizationRuleResourceInner
-
public final class SharedAccessAuthorizationRuleResourceInner extends com.azure.core.management.Resource
Description of a Namespace AuthorizationRules.
-
-
Constructor Summary
Constructors Constructor Description SharedAccessAuthorizationRuleResourceInner()
-
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.Sku
sku()
Get the sku property: The sku of the created namespace.void
validate()
Validates the instance.SharedAccessAuthorizationRuleResourceInner
withLocation(String location)
SharedAccessAuthorizationRuleResourceInner
withRights(List<AccessRights> rights)
Set the rights property: The rights associated with the rule.SharedAccessAuthorizationRuleResourceInner
withSku(Sku sku)
Set the sku property: The sku of the created namespace.SharedAccessAuthorizationRuleResourceInner
withTags(Map<String,String> tags)
-
-
-
Method Detail
-
sku
public Sku sku()
Get the sku property: The sku of the created namespace.- Returns:
- the sku value.
-
withSku
public SharedAccessAuthorizationRuleResourceInner withSku(Sku sku)
Set the sku property: The sku of the created namespace.- Parameters:
sku
- the sku value to set.- Returns:
- the SharedAccessAuthorizationRuleResourceInner object itself.
-
withLocation
public SharedAccessAuthorizationRuleResourceInner withLocation(String location)
- Overrides:
withLocation
in classcom.azure.core.management.Resource
-
withTags
public SharedAccessAuthorizationRuleResourceInner withTags(Map<String,String> tags)
- Overrides:
withTags
in classcom.azure.core.management.Resource
-
rights
public List<AccessRights> rights()
Get the rights property: The rights associated with the rule.- Returns:
- the rights value.
-
withRights
public SharedAccessAuthorizationRuleResourceInner withRights(List<AccessRights> rights)
Set the rights property: The rights associated with the rule.- Parameters:
rights
- the rights value to set.- Returns:
- the SharedAccessAuthorizationRuleResourceInner 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.
-
-