SharedAccessSignatureAuthorizationRuleInner Class
- java.
lang. Object - com.
azure. resourcemanager. deviceprovisioningservices. fluent. models. SharedAccessSignatureAuthorizationRuleInner
- com.
Implements
public final class SharedAccessSignatureAuthorizationRuleInner
implements JsonSerializable<SharedAccessSignatureAuthorizationRuleInner>
Description of the shared access key.
Constructor Summary
| Constructor | Description |
|---|---|
| SharedAccessSignatureAuthorizationRuleInner() |
Creates an instance of Shared |
Method Summary
| Modifier and Type | Method and Description |
|---|---|
|
static
Shared |
fromJson(JsonReader jsonReader)
Reads an instance of Shared |
| 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 |
|
Json |
toJson(JsonWriter jsonWriter) |
|
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()
Creates an instance of SharedAccessSignatureAuthorizationRuleInner class.
Method Details
fromJson
public static SharedAccessSignatureAuthorizationRuleInner fromJson(JsonReader jsonReader)
Reads an instance of SharedAccessSignatureAuthorizationRuleInner from the JsonReader.
Parameters:
Returns:
Throws:
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:
toJson
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: