java.lang.Object
com.azure.resourcemanager.iothub.fluent.models.SharedAccessSignatureAuthorizationRuleInner
public final class SharedAccessSignatureAuthorizationRuleInner
extends Object
The properties of an IoT hub shared access policy.
-
Constructor Summary
Constructors
-
Method Summary
Get the keyName property: The name of the shared access policy.
Get the primaryKey property: The primary key.
Get the rights property: The permissions assigned to the shared access policy.
Get the secondaryKey property: The secondary key.
void
Set the keyName property: The name of the shared access policy.
Set the primaryKey property: The primary key.
Set the rights property: The permissions assigned to the shared access policy.
Set the secondaryKey property: The secondary key.
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: The name of the shared access policy.
- Returns:
- the keyName value.
-
withKeyName
Set the keyName property: The name of the shared access policy.
- Parameters:
keyName
- the keyName value to set.
- Returns:
- the SharedAccessSignatureAuthorizationRuleInner object itself.
-
primaryKey
Get the primaryKey property: The primary key.
- Returns:
- the primaryKey value.
-
withPrimaryKey
Set the primaryKey property: The primary key.
- Parameters:
primaryKey
- the primaryKey value to set.
- Returns:
- the SharedAccessSignatureAuthorizationRuleInner object itself.
-
secondaryKey
Get the secondaryKey property: The secondary key.
- Returns:
- the secondaryKey value.
-
withSecondaryKey
Set the secondaryKey property: The secondary key.
- Parameters:
secondaryKey
- the secondaryKey value to set.
- Returns:
- the SharedAccessSignatureAuthorizationRuleInner object itself.
-
rights
Get the rights property: The permissions assigned to the shared access policy.
- Returns:
- the rights value.
-
withRights
Set the rights property: The permissions assigned to the shared access policy.
- 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.