Class CsmPublishingProfileOptions
java.lang.Object
com.azure.resourcemanager.appservice.models.CsmPublishingProfileOptions
Publishing options for requested profile.
-
Constructor Summary
ConstructorsConstructorDescriptionCreates an instance of CsmPublishingProfileOptions class. -
Method Summary
Modifier and TypeMethodDescriptionformat()Get the format property: Name of the format.Get the includeDisasterRecoveryEndpoints property: Include the DisasterRecover endpoint if true.voidvalidate()Validates the instance.withFormat(PublishingProfileFormat format) Set the format property: Name of the format.withIncludeDisasterRecoveryEndpoints(Boolean includeDisasterRecoveryEndpoints) Set the includeDisasterRecoveryEndpoints property: Include the DisasterRecover endpoint if true.
-
Constructor Details
-
CsmPublishingProfileOptions
public CsmPublishingProfileOptions()Creates an instance of CsmPublishingProfileOptions class.
-
-
Method Details
-
format
Get the format property: Name of the format. Valid values are: FileZilla3 WebDeploy -- default Ftp.- Returns:
- the format value.
-
withFormat
Set the format property: Name of the format. Valid values are: FileZilla3 WebDeploy -- default Ftp.- Parameters:
format- the format value to set.- Returns:
- the CsmPublishingProfileOptions object itself.
-
includeDisasterRecoveryEndpoints
Get the includeDisasterRecoveryEndpoints property: Include the DisasterRecover endpoint if true.- Returns:
- the includeDisasterRecoveryEndpoints value.
-
withIncludeDisasterRecoveryEndpoints
public CsmPublishingProfileOptions withIncludeDisasterRecoveryEndpoints(Boolean includeDisasterRecoveryEndpoints) Set the includeDisasterRecoveryEndpoints property: Include the DisasterRecover endpoint if true.- Parameters:
includeDisasterRecoveryEndpoints- the includeDisasterRecoveryEndpoints value to set.- Returns:
- the CsmPublishingProfileOptions object itself.
-
validate
public void validate()Validates the instance.- Throws:
IllegalArgumentException- thrown if the instance is not valid.
-