SharedAccessSignatureAuthorizationRuleInner Class
- java.
lang. Object - com.
azure. resourcemanager. deviceprovisioningservices. fluent. models. SharedAccessSignatureAuthorizationRuleInner
- com.
public final class SharedAccessSignatureAuthorizationRuleInner
Description of the shared access key.
Constructor Summary
Constructor | Description | |
---|---|---|
SharedAccessSignatureAuthorizationRuleInner() |
Method Summary
Modifier and Type | Method and Description |
---|---|
String |
keyName()
Get the key |
String |
primaryKey()
Get the primary |
Access |
rights()
Get the rights property: Rights that this key has. |
String |
secondaryKey()
Get the secondary |
void |
validate()
Validates the instance. |
Shared |
withKeyName(String keyName)
Set the key |
Shared |
withPrimaryKey(String primaryKey)
Set the primary |
Shared |
withRights(AccessRightsDescription rights)
Set the rights property: Rights that this key has. |
Shared |
withSecondaryKey(String secondaryKey)
Set the secondary |
Methods inherited from java.lang.Object
Constructor Details
SharedAccessSignatureAuthorizationRuleInner
public SharedAccessSignatureAuthorizationRuleInner()
Method Details
keyName
public String keyName()
Get the keyName property: Name of the key.
Returns:
primaryKey
public String primaryKey()
Get the primaryKey property: Primary SAS key value.
Returns:
rights
public AccessRightsDescription rights()
Get the rights property: Rights that this key has.
Returns:
secondaryKey
public String secondaryKey()
Get the secondaryKey property: Secondary SAS key value.
Returns:
validate
public void validate()
Validates the instance.
withKeyName
public SharedAccessSignatureAuthorizationRuleInner withKeyName(String keyName)
Set the keyName property: Name of the key.
Parameters:
Returns:
withPrimaryKey
public SharedAccessSignatureAuthorizationRuleInner withPrimaryKey(String primaryKey)
Set the primaryKey property: Primary SAS key value.
Parameters:
Returns:
withRights
public SharedAccessSignatureAuthorizationRuleInner withRights(AccessRightsDescription rights)
Set the rights property: Rights that this key has.
Parameters:
Returns:
withSecondaryKey
public SharedAccessSignatureAuthorizationRuleInner withSecondaryKey(String secondaryKey)
Set the secondaryKey property: Secondary SAS key value.
Parameters:
Returns:
Applies to
Azure SDK for Java