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.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.DataLakeRetentionPolicy
getDeleteRetentionPolicy()
Get the deleteRetentionPolicy property: The deleteRetentionPolicy property.DataLakeMetrics
getHourMetrics()
Get the hourMetrics property: The hourMetrics property.DataLakeAnalyticsLogging
getLogging()
Get the logging property: The logging property.DataLakeMetrics
getMinuteMetrics()
Get the minuteMetrics property: The minuteMetrics property.DataLakeStaticWebsite
getStaticWebsite()
Get the staticWebsite property: The properties that enable an account to host a static website.DataLakeServiceProperties
setCors(List<DataLakeCorsRule> cors)
Set the cors property: The set of CORS rules.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.DataLakeServiceProperties
setDeleteRetentionPolicy(DataLakeRetentionPolicy deleteRetentionPolicy)
Set the deleteRetentionPolicy property: The deleteRetentionPolicy property.DataLakeServiceProperties
setHourMetrics(DataLakeMetrics hourMetrics)
Set the hourMetrics property: The hourMetrics property.DataLakeServiceProperties
setLogging(DataLakeAnalyticsLogging logging)
Set the logging property: The logging property.DataLakeServiceProperties
setMinuteMetrics(DataLakeMetrics minuteMetrics)
Set the minuteMetrics property: The minuteMetrics property.DataLakeServiceProperties
setStaticWebsite(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.
-
-