Class DataLakeServiceProperties
java.lang.Object
com.azure.storage.file.datalake.models.DataLakeServiceProperties
Storage Service Properties.
-
Constructor Summary
Constructors -
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 DataLake service if an incoming request's version is not specified.Get the deleteRetentionPolicy property: The deleteRetentionPolicy property.Get the hourMetrics property: The hourMetrics property.Get the logging property: The logging property.Get the minuteMetrics property: The minuteMetrics property.Get the staticWebsite property: The properties that enable an account to host a static website.setCors(List<DataLakeCorsRule> 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 DataLake service if an incoming request's version is not specified.setDeleteRetentionPolicy(DataLakeRetentionPolicy deleteRetentionPolicy) Set the deleteRetentionPolicy property: The deleteRetentionPolicy property.setHourMetrics(DataLakeMetrics hourMetrics) Set the hourMetrics property: The hourMetrics property.setLogging(DataLakeAnalyticsLogging logging) Set the logging property: The logging property.setMinuteMetrics(DataLakeMetrics minuteMetrics) Set the minuteMetrics property: The minuteMetrics property.setStaticWebsite(DataLakeStaticWebsite staticWebsite) Set the staticWebsite property: The properties that enable an account to host a static website.
-
Constructor Details
-
DataLakeServiceProperties
public DataLakeServiceProperties()Creates a new instance ofDataLakeServiceProperties.
-
-
Method Details
-
getLogging
Get the logging property: The logging property.- Returns:
- the logging value.
-
setLogging
Set the logging property: The logging property.- Parameters:
logging- the logging value to set.- Returns:
- the DataLakeServiceProperties object itself.
-
getHourMetrics
Get the hourMetrics property: The hourMetrics property.- Returns:
- the hourMetrics value.
-
setHourMetrics
Set the hourMetrics property: The hourMetrics property.- Parameters:
hourMetrics- the hourMetrics value to set.- Returns:
- the DataLakeServiceProperties object itself.
-
getMinuteMetrics
Get the minuteMetrics property: The minuteMetrics property.- Returns:
- the minuteMetrics value.
-
setMinuteMetrics
Set the minuteMetrics property: The minuteMetrics property.- Parameters:
minuteMetrics- the minuteMetrics value to set.- Returns:
- the DataLakeServiceProperties 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 DataLakeServiceProperties object itself.
-
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
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
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
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 DataLakeServiceProperties object itself.
-