Class DataLakeServiceProperties
- java.lang.Object
-
- com.azure.storage.file.datalake.models.DataLakeServiceProperties
-
public final class DataLakeServiceProperties extends Object
Storage Service Properties.
-
-
Constructor Summary
Constructors Constructor Description DataLakeServiceProperties()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description List<DataLakeCorsRule>getCors()Get the cors property: The set of CORS rules.StringgetDefaultServiceVersion()Get the defaultServiceVersion property: The default version to use for requests to the DataLake service if an incoming request's version is not specified.DataLakeRetentionPolicygetDeleteRetentionPolicy()Get the deleteRetentionPolicy property: The deleteRetentionPolicy property.DataLakeMetricsgetHourMetrics()Get the hourMetrics property: The hourMetrics property.DataLakeAnalyticsLogginggetLogging()Get the logging property: The logging property.DataLakeMetricsgetMinuteMetrics()Get the minuteMetrics property: The minuteMetrics property.DataLakeStaticWebsitegetStaticWebsite()Get the staticWebsite property: The properties that enable an account to host a static website.DataLakeServicePropertiessetCors(List<DataLakeCorsRule> cors)Set the cors property: The set of CORS rules.DataLakeServicePropertiessetDefaultServiceVersion(String defaultServiceVersion)Set the defaultServiceVersion property: The default version to use for requests to the DataLake service if an incoming request's version is not specified.DataLakeServicePropertiessetDeleteRetentionPolicy(DataLakeRetentionPolicy deleteRetentionPolicy)Set the deleteRetentionPolicy property: The deleteRetentionPolicy property.DataLakeServicePropertiessetHourMetrics(DataLakeMetrics hourMetrics)Set the hourMetrics property: The hourMetrics property.DataLakeServicePropertiessetLogging(DataLakeAnalyticsLogging logging)Set the logging property: The logging property.DataLakeServicePropertiessetMinuteMetrics(DataLakeMetrics minuteMetrics)Set the minuteMetrics property: The minuteMetrics property.DataLakeServicePropertiessetStaticWebsite(DataLakeStaticWebsite staticWebsite)Set the staticWebsite property: The properties that enable an account to host a static website.
-
-
-
Method Detail
-
getLogging
public DataLakeAnalyticsLogging getLogging()
Get the logging property: The logging property.- Returns:
- the logging value.
-
setLogging
public DataLakeServiceProperties setLogging(DataLakeAnalyticsLogging logging)
Set the logging property: The logging property.- Parameters:
logging- the logging value to set.- Returns:
- the DataLakeServiceProperties object itself.
-
getHourMetrics
public DataLakeMetrics getHourMetrics()
Get the hourMetrics property: The hourMetrics property.- Returns:
- the hourMetrics value.
-
setHourMetrics
public DataLakeServiceProperties setHourMetrics(DataLakeMetrics hourMetrics)
Set the hourMetrics property: The hourMetrics property.- Parameters:
hourMetrics- the hourMetrics value to set.- Returns:
- the DataLakeServiceProperties object itself.
-
getMinuteMetrics
public DataLakeMetrics getMinuteMetrics()
Get the minuteMetrics property: The minuteMetrics property.- Returns:
- the minuteMetrics value.
-
setMinuteMetrics
public DataLakeServiceProperties setMinuteMetrics(DataLakeMetrics minuteMetrics)
Set the minuteMetrics property: The minuteMetrics property.- Parameters:
minuteMetrics- the minuteMetrics value to set.- Returns:
- the DataLakeServiceProperties object itself.
-
getCors
public List<DataLakeCorsRule> getCors()
Get the cors property: The set of CORS rules.- Returns:
- the cors value.
-
setCors
public DataLakeServiceProperties setCors(List<DataLakeCorsRule> cors)
Set the cors property: The set of CORS rules.- Parameters:
cors- the cors value to set.- Returns:
- the DataLakeServiceProperties object itself.
-
getDefaultServiceVersion
public String getDefaultServiceVersion()
Get the defaultServiceVersion property: The default version to use for requests to the DataLake 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
public DataLakeServiceProperties setDefaultServiceVersion(String defaultServiceVersion)
Set the defaultServiceVersion property: The default version to use for requests to the DataLake 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 DataLakeServiceProperties object itself.
-
getDeleteRetentionPolicy
public DataLakeRetentionPolicy getDeleteRetentionPolicy()
Get the deleteRetentionPolicy property: The deleteRetentionPolicy property.- Returns:
- the deleteRetentionPolicy value.
-
setDeleteRetentionPolicy
public DataLakeServiceProperties setDeleteRetentionPolicy(DataLakeRetentionPolicy deleteRetentionPolicy)
Set the deleteRetentionPolicy property: The deleteRetentionPolicy property.- Parameters:
deleteRetentionPolicy- the deleteRetentionPolicy value to set.- Returns:
- the DataLakeServiceProperties object itself.
-
getStaticWebsite
public DataLakeStaticWebsite getStaticWebsite()
Get the staticWebsite property: The properties that enable an account to host a static website.- Returns:
- the staticWebsite value.
-
setStaticWebsite
public DataLakeServiceProperties setStaticWebsite(DataLakeStaticWebsite staticWebsite)
Set the staticWebsite property: The properties that enable an account to host a static website.- Parameters:
staticWebsite- the staticWebsite value to set.- Returns:
- the DataLakeServiceProperties object itself.
-
-