java.lang.Object
com.azure.resourcemanager.deviceprovisioningservices.fluent.models.SharedAccessSignatureAuthorizationRuleInner
public final class SharedAccessSignatureAuthorizationRuleInner
extends Object
Description of the shared access key.
-
Constructor Summary
Constructors
-
Method Summary
Get the keyName property: Name of the key.
Get the primaryKey property: Primary SAS key value.
Get the rights property: Rights that this key has.
Get the secondaryKey property: Secondary SAS key value.
void
Set the keyName property: Name of the key.
Set the primaryKey property: Primary SAS key value.
Set the rights property: Rights that this key has.
Set the secondaryKey property: Secondary SAS key value.
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
-
Constructor Details
-
SharedAccessSignatureAuthorizationRuleInner
public SharedAccessSignatureAuthorizationRuleInner()
-
Method Details
-
keyName
Get the keyName property: Name of the key.
- Returns:
- the keyName value.
-
withKeyName
Set the keyName property: Name of the key.
- Parameters:
keyName
- the keyName value to set.
- Returns:
- the SharedAccessSignatureAuthorizationRuleInner object itself.
-
primaryKey
Get the primaryKey property: Primary SAS key value.
- Returns:
- the primaryKey value.
-
withPrimaryKey
Set the primaryKey property: Primary SAS key value.
- Parameters:
primaryKey
- the primaryKey value to set.
- Returns:
- the SharedAccessSignatureAuthorizationRuleInner object itself.
-
secondaryKey
Get the secondaryKey property: Secondary SAS key value.
- Returns:
- the secondaryKey value.
-
withSecondaryKey
Set the secondaryKey property: Secondary SAS key value.
- Parameters:
secondaryKey
- the secondaryKey value to set.
- Returns:
- the SharedAccessSignatureAuthorizationRuleInner object itself.
-
rights
Get the rights property: Rights that this key has.
- Returns:
- the rights value.
-
withRights
Set the rights property: Rights that this key has.
- Parameters:
rights
- the rights value to set.
- Returns:
- the SharedAccessSignatureAuthorizationRuleInner object itself.
-
validate
public void validate()
Validates the instance.
- Throws:
IllegalArgumentException
- thrown if the instance is not valid.