SharedAccessSignatureAuthorizationRuleInner Class
- java.
lang. Object - com.
azure. resourcemanager. iothub. fluent. models. SharedAccessSignatureAuthorizationRuleInner
- com.
public final class SharedAccessSignatureAuthorizationRuleInner
The properties of an IoT hub shared access policy.
Constructor Summary
Constructor | Description |
---|---|
SharedAccessSignatureAuthorizationRuleInner() |
Creates an instance of Shared |
Method Summary
Modifier and Type | Method and Description |
---|---|
String |
keyName()
Get the key |
String |
primaryKey()
Get the primary |
Access |
rights()
Get the rights property: The permissions assigned to the shared access policy. |
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(AccessRights rights)
Set the rights property: The permissions assigned to the shared access policy. |
Shared |
withSecondaryKey(String secondaryKey)
Set the secondary |
Methods inherited from java.lang.Object
Constructor Details
SharedAccessSignatureAuthorizationRuleInner
public SharedAccessSignatureAuthorizationRuleInner()
Creates an instance of SharedAccessSignatureAuthorizationRuleInner class.
Method Details
keyName
public String keyName()
Get the keyName property: The name of the shared access policy.
Returns:
primaryKey
public String primaryKey()
Get the primaryKey property: The primary key.
Returns:
rights
public AccessRights rights()
Get the rights property: The permissions assigned to the shared access policy.
Returns:
secondaryKey
public String secondaryKey()
Get the secondaryKey property: The secondary key.
Returns:
validate
public void validate()
Validates the instance.
withKeyName
public SharedAccessSignatureAuthorizationRuleInner withKeyName(String keyName)
Set the keyName property: The name of the shared access policy.
Parameters:
Returns:
withPrimaryKey
public SharedAccessSignatureAuthorizationRuleInner withPrimaryKey(String primaryKey)
Set the primaryKey property: The primary key.
Parameters:
Returns:
withRights
public SharedAccessSignatureAuthorizationRuleInner withRights(AccessRights rights)
Set the rights property: The permissions assigned to the shared access policy.
Parameters:
Returns:
withSecondaryKey
public SharedAccessSignatureAuthorizationRuleInner withSecondaryKey(String secondaryKey)
Set the secondaryKey property: The secondary key.
Parameters:
Returns:
Applies to
Azure SDK for Java
Feedback
https://aka.ms/ContentUserFeedback.
Coming soon: Throughout 2024 we will be phasing out GitHub Issues as the feedback mechanism for content and replacing it with a new feedback system. For more information see:Submit and view feedback for