Package com.azure.storage.blob.models
Class BlobServiceProperties
java.lang.Object
com.azure.storage.blob.models.BlobServiceProperties
Storage Service Properties.
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptiongetCors()
Get the cors property: The set of CORS rules.Get the defaultServiceVersion property: The default version to use for requests to the Blob service if an incoming request's version is not specified.Get the deleteRetentionPolicy property: the retention policy which determines how long the associated data should persist.Get the hourMetrics property: a summary of request statistics grouped by API in hour or minute aggregates for blobs.Get the logging property: Azure Analytics Logging settings.Get the minuteMetrics property: a summary of request statistics grouped by API in hour or minute aggregates for blobs.Get the staticWebsite property: The properties that enable an account to host a static website.setCors
(List<BlobCorsRule> cors) Set the cors property: The set of CORS rules.setDefaultServiceVersion
(String defaultServiceVersion) Set the defaultServiceVersion property: The default version to use for requests to the Blob service if an incoming request's version is not specified.setDeleteRetentionPolicy
(BlobRetentionPolicy deleteRetentionPolicy) Set the deleteRetentionPolicy property: the retention policy which determines how long the associated data should persist.setHourMetrics
(BlobMetrics hourMetrics) Set the hourMetrics property: a summary of request statistics grouped by API in hour or minute aggregates for blobs.setLogging
(BlobAnalyticsLogging logging) Set the logging property: Azure Analytics Logging settings.setMinuteMetrics
(BlobMetrics minuteMetrics) Set the minuteMetrics property: a summary of request statistics grouped by API in hour or minute aggregates for blobs.setStaticWebsite
(StaticWebsite staticWebsite) Set the staticWebsite property: The properties that enable an account to host a static website.
-
Constructor Details
-
BlobServiceProperties
public BlobServiceProperties()Creates an instance of BlobServiceProperties class.
-
-
Method Details
-
getLogging
Get the logging property: Azure Analytics Logging settings.- Returns:
- the logging value.
-
setLogging
Set the logging property: Azure Analytics Logging settings.- Parameters:
logging
- the logging value to set.- Returns:
- the BlobServiceProperties object itself.
-
getHourMetrics
Get the hourMetrics property: a summary of request statistics grouped by API in hour or minute aggregates for blobs.- Returns:
- the hourMetrics value.
-
setHourMetrics
Set the hourMetrics property: a summary of request statistics grouped by API in hour or minute aggregates for blobs.- Parameters:
hourMetrics
- the hourMetrics value to set.- Returns:
- the BlobServiceProperties object itself.
-
getMinuteMetrics
Get the minuteMetrics property: a summary of request statistics grouped by API in hour or minute aggregates for blobs.- Returns:
- the minuteMetrics value.
-
setMinuteMetrics
Set the minuteMetrics property: a summary of request statistics grouped by API in hour or minute aggregates for blobs.- Parameters:
minuteMetrics
- the minuteMetrics value to set.- Returns:
- the BlobServiceProperties object itself.
-
getCors
Get the cors property: The set of CORS rules.- Returns:
- the cors value.
-
setCors
Set the cors property: The set of CORS rules.- Parameters:
cors
- the cors value to set.- Returns:
- the BlobServiceProperties object itself.
-
getDefaultServiceVersion
Get the defaultServiceVersion property: The default version to use for requests to the Blob service if an incoming request's version is not specified. Possible values include version 2008-10-27 and all more recent versions.- Returns:
- the defaultServiceVersion value.
-
setDefaultServiceVersion
Set the defaultServiceVersion property: The default version to use for requests to the Blob service if an incoming request's version is not specified. Possible values include version 2008-10-27 and all more recent versions.- Parameters:
defaultServiceVersion
- the defaultServiceVersion value to set.- Returns:
- the BlobServiceProperties object itself.
-
getDeleteRetentionPolicy
Get the deleteRetentionPolicy property: the retention policy which determines how long the associated data should persist.- Returns:
- the deleteRetentionPolicy value.
-
setDeleteRetentionPolicy
Set the deleteRetentionPolicy property: the retention policy which determines how long the associated data should persist.- Parameters:
deleteRetentionPolicy
- the deleteRetentionPolicy value to set.- Returns:
- the BlobServiceProperties object itself.
-
getStaticWebsite
Get the staticWebsite property: The properties that enable an account to host a static website.- Returns:
- the staticWebsite value.
-
setStaticWebsite
Set the staticWebsite property: The properties that enable an account to host a static website.- Parameters:
staticWebsite
- the staticWebsite value to set.- Returns:
- the BlobServiceProperties object itself.
-