DataLakeServiceProperties Class

  • java.lang.Object
    • com.azure.storage.file.datalake.models.DataLakeServiceProperties

public final class DataLakeServiceProperties

Storage Service Properties.

Constructor Summary

Constructor Description
DataLakeServiceProperties()

Method Summary

Modifier and Type Method and 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.

Methods inherited from java.lang.Object

Constructor Details

DataLakeServiceProperties

public DataLakeServiceProperties()

Method Details

getCors

public List getCors()

Get the cors property: The set of CORS rules.

Returns:

the cors value.

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.

getDeleteRetentionPolicy

public DataLakeRetentionPolicy getDeleteRetentionPolicy()

Get the deleteRetentionPolicy property: The deleteRetentionPolicy property.

Returns:

the deleteRetentionPolicy value.

getHourMetrics

public DataLakeMetrics getHourMetrics()

Get the hourMetrics property: The hourMetrics property.

Returns:

the hourMetrics value.

getLogging

public DataLakeAnalyticsLogging getLogging()

Get the logging property: The logging property.

Returns:

the logging value.

getMinuteMetrics

public DataLakeMetrics getMinuteMetrics()

Get the minuteMetrics property: The minuteMetrics property.

Returns:

the minuteMetrics value.

getStaticWebsite

public DataLakeStaticWebsite getStaticWebsite()

Get the staticWebsite property: The properties that enable an account to host a static website.

Returns:

the staticWebsite value.

setCors

public DataLakeServiceProperties setCors(List cors)

Set the cors property: The set of CORS rules.

Parameters:

cors - the cors value to set.

Returns:

the DataLakeServiceProperties object itself.

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.

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.

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.

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.

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.

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.

Applies to