179 строки
12 KiB
YAML
179 строки
12 KiB
YAML
### YamlMime:JavaType
|
|
uid: "com.azure.storage.blob.models.BlobAccessPolicy"
|
|
fullName: "com.azure.storage.blob.models.BlobAccessPolicy"
|
|
name: "BlobAccessPolicy"
|
|
nameWithType: "BlobAccessPolicy"
|
|
summary: "An Access policy."
|
|
inheritances:
|
|
- "<xref href=\"java.lang.Object?displayProperty=fullName\" data-throw-if-not-resolved=\"False\" />"
|
|
inheritedClassMethods:
|
|
- classRef: "java.lang.<a href=\"https://docs.oracle.com/javase/8/docs/api/java/lang/Object.html\">Object</a>"
|
|
methodsRef:
|
|
- "<a href=\"https://docs.oracle.com/javase/8/docs/api/java/lang/Object.html#clone--\">clone</a>"
|
|
- "<a href=\"https://docs.oracle.com/javase/8/docs/api/java/lang/Object.html#equals-java.lang.Object-\">equals</a>"
|
|
- "<a href=\"https://docs.oracle.com/javase/8/docs/api/java/lang/Object.html#finalize--\">finalize</a>"
|
|
- "<a href=\"https://docs.oracle.com/javase/8/docs/api/java/lang/Object.html#getClass--\">getClass</a>"
|
|
- "<a href=\"https://docs.oracle.com/javase/8/docs/api/java/lang/Object.html#hashCode--\">hashCode</a>"
|
|
- "<a href=\"https://docs.oracle.com/javase/8/docs/api/java/lang/Object.html#notify--\">notify</a>"
|
|
- "<a href=\"https://docs.oracle.com/javase/8/docs/api/java/lang/Object.html#notifyAll--\">notifyAll</a>"
|
|
- "<a href=\"https://docs.oracle.com/javase/8/docs/api/java/lang/Object.html#toString--\">toString</a>"
|
|
- "<a href=\"https://docs.oracle.com/javase/8/docs/api/java/lang/Object.html#wait--\">wait</a>"
|
|
- "<a href=\"https://docs.oracle.com/javase/8/docs/api/java/lang/Object.html#wait-long-\">wait</a>"
|
|
- "<a href=\"https://docs.oracle.com/javase/8/docs/api/java/lang/Object.html#wait-long-int-\">wait</a>"
|
|
syntax: "public final class **BlobAccessPolicy**</br> implements <xref href=\"com.azure.xml.XmlSerializable?alt=com.azure.xml.XmlSerializable&text=XmlSerializable\" data-throw-if-not-resolved=\"False\" /><<xref href=\"com.azure.storage.blob.models.BlobAccessPolicy?alt=com.azure.storage.blob.models.BlobAccessPolicy&text=BlobAccessPolicy\" data-throw-if-not-resolved=\"False\" />>"
|
|
constructors:
|
|
- uid: "com.azure.storage.blob.models.BlobAccessPolicy.BlobAccessPolicy()"
|
|
fullName: "com.azure.storage.blob.models.BlobAccessPolicy.BlobAccessPolicy()"
|
|
name: "BlobAccessPolicy()"
|
|
nameWithType: "BlobAccessPolicy.BlobAccessPolicy()"
|
|
summary: "Creates an instance of Blob<wbr>Access<wbr>Policy class."
|
|
syntax: "public BlobAccessPolicy()"
|
|
desc: "Creates an instance of BlobAccessPolicy class."
|
|
methods:
|
|
- uid: "com.azure.storage.blob.models.BlobAccessPolicy.fromXml(com.azure.xml.XmlReader)"
|
|
fullName: "com.azure.storage.blob.models.BlobAccessPolicy.fromXml(XmlReader xmlReader)"
|
|
name: "fromXml(XmlReader xmlReader)"
|
|
nameWithType: "BlobAccessPolicy.fromXml(XmlReader xmlReader)"
|
|
summary: "Reads an instance of Blob<wbr>Access<wbr>Policy from the Xml<wbr>Reader."
|
|
modifiers:
|
|
- "static"
|
|
parameters:
|
|
- description: "The XmlReader being read."
|
|
name: "xmlReader"
|
|
type: "<xref href=\"com.azure.xml.XmlReader?alt=com.azure.xml.XmlReader&text=XmlReader\" data-throw-if-not-resolved=\"False\" />"
|
|
syntax: "public static BlobAccessPolicy fromXml(XmlReader xmlReader)"
|
|
exceptions:
|
|
- description: "If an error occurs while reading the BlobAccessPolicy."
|
|
type: "<a href=\"https://docs.oracle.com/javase/8/docs/api/javax/xml/stream/XMLStreamException.html\">XMLStreamException</a>"
|
|
desc: "Reads an instance of BlobAccessPolicy from the XmlReader."
|
|
returns:
|
|
description: "An instance of BlobAccessPolicy if the XmlReader was pointing to an instance of it, or null if it was\n pointing to XML null."
|
|
type: "<xref href=\"com.azure.storage.blob.models.BlobAccessPolicy?alt=com.azure.storage.blob.models.BlobAccessPolicy&text=BlobAccessPolicy\" data-throw-if-not-resolved=\"False\" />"
|
|
- uid: "com.azure.storage.blob.models.BlobAccessPolicy.fromXml(com.azure.xml.XmlReader,java.lang.String)"
|
|
fullName: "com.azure.storage.blob.models.BlobAccessPolicy.fromXml(XmlReader xmlReader, String rootElementName)"
|
|
name: "fromXml(XmlReader xmlReader, String rootElementName)"
|
|
nameWithType: "BlobAccessPolicy.fromXml(XmlReader xmlReader, String rootElementName)"
|
|
summary: "Reads an instance of Blob<wbr>Access<wbr>Policy from the Xml<wbr>Reader."
|
|
modifiers:
|
|
- "static"
|
|
parameters:
|
|
- description: "The XmlReader being read."
|
|
name: "xmlReader"
|
|
type: "<xref href=\"com.azure.xml.XmlReader?alt=com.azure.xml.XmlReader&text=XmlReader\" data-throw-if-not-resolved=\"False\" />"
|
|
- description: "Optional root element name to override the default defined by the model. Used to support\n cases where the model can deserialize from different root element names."
|
|
name: "rootElementName"
|
|
type: "<a href=\"https://docs.oracle.com/javase/8/docs/api/java/lang/String.html\">String</a>"
|
|
syntax: "public static BlobAccessPolicy fromXml(XmlReader xmlReader, String rootElementName)"
|
|
exceptions:
|
|
- description: "If an error occurs while reading the BlobAccessPolicy."
|
|
type: "<a href=\"https://docs.oracle.com/javase/8/docs/api/javax/xml/stream/XMLStreamException.html\">XMLStreamException</a>"
|
|
desc: "Reads an instance of BlobAccessPolicy from the XmlReader."
|
|
returns:
|
|
description: "An instance of BlobAccessPolicy if the XmlReader was pointing to an instance of it, or null if it was\n pointing to XML null."
|
|
type: "<xref href=\"com.azure.storage.blob.models.BlobAccessPolicy?alt=com.azure.storage.blob.models.BlobAccessPolicy&text=BlobAccessPolicy\" data-throw-if-not-resolved=\"False\" />"
|
|
- uid: "com.azure.storage.blob.models.BlobAccessPolicy.getExpiresOn()"
|
|
fullName: "com.azure.storage.blob.models.BlobAccessPolicy.getExpiresOn()"
|
|
name: "getExpiresOn()"
|
|
nameWithType: "BlobAccessPolicy.getExpiresOn()"
|
|
summary: "Get the expires<wbr>On property: the date-time the policy expires."
|
|
syntax: "public OffsetDateTime getExpiresOn()"
|
|
desc: "Get the expiresOn property: the date-time the policy expires."
|
|
returns:
|
|
description: "the expiresOn value."
|
|
type: "<a href=\"https://docs.oracle.com/javase/8/docs/api/java/time/OffsetDateTime.html\">OffsetDateTime</a>"
|
|
- uid: "com.azure.storage.blob.models.BlobAccessPolicy.getPermissions()"
|
|
fullName: "com.azure.storage.blob.models.BlobAccessPolicy.getPermissions()"
|
|
name: "getPermissions()"
|
|
nameWithType: "BlobAccessPolicy.getPermissions()"
|
|
summary: "Get the permissions property: the permissions for the acl policy."
|
|
syntax: "public String getPermissions()"
|
|
desc: "Get the permissions property: the permissions for the acl policy."
|
|
returns:
|
|
description: "the permissions value."
|
|
type: "<a href=\"https://docs.oracle.com/javase/8/docs/api/java/lang/String.html\">String</a>"
|
|
- uid: "com.azure.storage.blob.models.BlobAccessPolicy.getStartsOn()"
|
|
fullName: "com.azure.storage.blob.models.BlobAccessPolicy.getStartsOn()"
|
|
name: "getStartsOn()"
|
|
nameWithType: "BlobAccessPolicy.getStartsOn()"
|
|
summary: "Get the starts<wbr>On property: the date-time the policy is active."
|
|
syntax: "public OffsetDateTime getStartsOn()"
|
|
desc: "Get the startsOn property: the date-time the policy is active."
|
|
returns:
|
|
description: "the startsOn value."
|
|
type: "<a href=\"https://docs.oracle.com/javase/8/docs/api/java/time/OffsetDateTime.html\">OffsetDateTime</a>"
|
|
- uid: "com.azure.storage.blob.models.BlobAccessPolicy.setExpiresOn(java.time.OffsetDateTime)"
|
|
fullName: "com.azure.storage.blob.models.BlobAccessPolicy.setExpiresOn(OffsetDateTime expiresOn)"
|
|
name: "setExpiresOn(OffsetDateTime expiresOn)"
|
|
nameWithType: "BlobAccessPolicy.setExpiresOn(OffsetDateTime expiresOn)"
|
|
summary: "Set the expires<wbr>On property: the date-time the policy expires."
|
|
parameters:
|
|
- description: "the expiresOn value to set."
|
|
name: "expiresOn"
|
|
type: "<a href=\"https://docs.oracle.com/javase/8/docs/api/java/time/OffsetDateTime.html\">OffsetDateTime</a>"
|
|
syntax: "public BlobAccessPolicy setExpiresOn(OffsetDateTime expiresOn)"
|
|
desc: "Set the expiresOn property: the date-time the policy expires."
|
|
returns:
|
|
description: "the BlobAccessPolicy object itself."
|
|
type: "<xref href=\"com.azure.storage.blob.models.BlobAccessPolicy?alt=com.azure.storage.blob.models.BlobAccessPolicy&text=BlobAccessPolicy\" data-throw-if-not-resolved=\"False\" />"
|
|
- uid: "com.azure.storage.blob.models.BlobAccessPolicy.setPermissions(java.lang.String)"
|
|
fullName: "com.azure.storage.blob.models.BlobAccessPolicy.setPermissions(String permissions)"
|
|
name: "setPermissions(String permissions)"
|
|
nameWithType: "BlobAccessPolicy.setPermissions(String permissions)"
|
|
summary: "Set the permissions property: the permissions for the acl policy."
|
|
parameters:
|
|
- description: "the permissions value to set."
|
|
name: "permissions"
|
|
type: "<a href=\"https://docs.oracle.com/javase/8/docs/api/java/lang/String.html\">String</a>"
|
|
syntax: "public BlobAccessPolicy setPermissions(String permissions)"
|
|
desc: "Set the permissions property: the permissions for the acl policy."
|
|
returns:
|
|
description: "the BlobAccessPolicy object itself."
|
|
type: "<xref href=\"com.azure.storage.blob.models.BlobAccessPolicy?alt=com.azure.storage.blob.models.BlobAccessPolicy&text=BlobAccessPolicy\" data-throw-if-not-resolved=\"False\" />"
|
|
- uid: "com.azure.storage.blob.models.BlobAccessPolicy.setStartsOn(java.time.OffsetDateTime)"
|
|
fullName: "com.azure.storage.blob.models.BlobAccessPolicy.setStartsOn(OffsetDateTime startsOn)"
|
|
name: "setStartsOn(OffsetDateTime startsOn)"
|
|
nameWithType: "BlobAccessPolicy.setStartsOn(OffsetDateTime startsOn)"
|
|
summary: "Set the starts<wbr>On property: the date-time the policy is active."
|
|
parameters:
|
|
- description: "the startsOn value to set."
|
|
name: "startsOn"
|
|
type: "<a href=\"https://docs.oracle.com/javase/8/docs/api/java/time/OffsetDateTime.html\">OffsetDateTime</a>"
|
|
syntax: "public BlobAccessPolicy setStartsOn(OffsetDateTime startsOn)"
|
|
desc: "Set the startsOn property: the date-time the policy is active."
|
|
returns:
|
|
description: "the BlobAccessPolicy object itself."
|
|
type: "<xref href=\"com.azure.storage.blob.models.BlobAccessPolicy?alt=com.azure.storage.blob.models.BlobAccessPolicy&text=BlobAccessPolicy\" data-throw-if-not-resolved=\"False\" />"
|
|
- uid: "com.azure.storage.blob.models.BlobAccessPolicy.toXml(com.azure.xml.XmlWriter)"
|
|
fullName: "com.azure.storage.blob.models.BlobAccessPolicy.toXml(XmlWriter xmlWriter)"
|
|
name: "toXml(XmlWriter xmlWriter)"
|
|
nameWithType: "BlobAccessPolicy.toXml(XmlWriter xmlWriter)"
|
|
parameters:
|
|
- name: "xmlWriter"
|
|
type: "<xref href=\"com.azure.xml.XmlWriter?alt=com.azure.xml.XmlWriter&text=XmlWriter\" data-throw-if-not-resolved=\"False\" />"
|
|
syntax: "public XmlWriter toXml(XmlWriter xmlWriter)"
|
|
exceptions:
|
|
- type: "<a href=\"https://docs.oracle.com/javase/8/docs/api/javax/xml/stream/XMLStreamException.html\">XMLStreamException</a>"
|
|
returns:
|
|
type: "<xref href=\"com.azure.xml.XmlWriter?alt=com.azure.xml.XmlWriter&text=XmlWriter\" data-throw-if-not-resolved=\"False\" />"
|
|
- uid: "com.azure.storage.blob.models.BlobAccessPolicy.toXml(com.azure.xml.XmlWriter,java.lang.String)"
|
|
fullName: "com.azure.storage.blob.models.BlobAccessPolicy.toXml(XmlWriter xmlWriter, String rootElementName)"
|
|
name: "toXml(XmlWriter xmlWriter, String rootElementName)"
|
|
nameWithType: "BlobAccessPolicy.toXml(XmlWriter xmlWriter, String rootElementName)"
|
|
parameters:
|
|
- name: "xmlWriter"
|
|
type: "<xref href=\"com.azure.xml.XmlWriter?alt=com.azure.xml.XmlWriter&text=XmlWriter\" data-throw-if-not-resolved=\"False\" />"
|
|
- name: "rootElementName"
|
|
type: "<a href=\"https://docs.oracle.com/javase/8/docs/api/java/lang/String.html\">String</a>"
|
|
syntax: "public XmlWriter toXml(XmlWriter xmlWriter, String rootElementName)"
|
|
exceptions:
|
|
- type: "<a href=\"https://docs.oracle.com/javase/8/docs/api/javax/xml/stream/XMLStreamException.html\">XMLStreamException</a>"
|
|
returns:
|
|
type: "<xref href=\"com.azure.xml.XmlWriter?alt=com.azure.xml.XmlWriter&text=XmlWriter\" data-throw-if-not-resolved=\"False\" />"
|
|
type: "class"
|
|
desc: "An Access policy."
|
|
implements:
|
|
- "<xref href=\"com.azure.xml.XmlSerializable?alt=com.azure.xml.XmlSerializable&text=XmlSerializable\" data-throw-if-not-resolved=\"False\" /><<xref href=\"com.azure.storage.blob.models.BlobAccessPolicy?alt=com.azure.storage.blob.models.BlobAccessPolicy&text=BlobAccessPolicy\" data-throw-if-not-resolved=\"False\" />>"
|
|
metadata: {}
|
|
package: "com.azure.storage.blob.models"
|
|
artifact: com.azure:azure-storage-blob:12.28.1
|