Class SignedIdentifier
- java.lang.Object
-
- com.azure.resourcemanager.storage.models.SignedIdentifier
-
public final class SignedIdentifier extends Object
The SignedIdentifier model.
-
-
Constructor Summary
Constructors Constructor Description SignedIdentifier()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description AccessPolicyaccessPolicy()Get the accessPolicy property: Access policy.Stringid()Get the id property: An unique identifier of the stored access policy.voidvalidate()Validates the instance.SignedIdentifierwithAccessPolicy(AccessPolicy accessPolicy)Set the accessPolicy property: Access policy.SignedIdentifierwithId(String id)Set the id property: An unique identifier of the stored access policy.
-
-
-
Method Detail
-
id
public String id()
Get the id property: An unique identifier of the stored access policy.- Returns:
- the id value.
-
withId
public SignedIdentifier withId(String id)
Set the id property: An unique identifier of the stored access policy.- Parameters:
id- the id value to set.- Returns:
- the SignedIdentifier object itself.
-
accessPolicy
public AccessPolicy accessPolicy()
Get the accessPolicy property: Access policy.- Returns:
- the accessPolicy value.
-
withAccessPolicy
public SignedIdentifier withAccessPolicy(AccessPolicy accessPolicy)
Set the accessPolicy property: Access policy.- Parameters:
accessPolicy- the accessPolicy value to set.- Returns:
- the SignedIdentifier object itself.
-
validate
public void validate()
Validates the instance.- Throws:
IllegalArgumentException- thrown if the instance is not valid.
-
-