Class CsmPublishingProfileOptions
- java.lang.Object
-
- com.azure.resourcemanager.appservice.models.CsmPublishingProfileOptions
-
public final class CsmPublishingProfileOptions extends Object
Publishing options for requested profile.
-
-
Constructor Summary
Constructors Constructor Description CsmPublishingProfileOptions()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description PublishingProfileFormatformat()Get the format property: Name of the format.BooleanincludeDisasterRecoveryEndpoints()Get the includeDisasterRecoveryEndpoints property: Include the DisasterRecover endpoint if true.voidvalidate()Validates the instance.CsmPublishingProfileOptionswithFormat(PublishingProfileFormat format)Set the format property: Name of the format.CsmPublishingProfileOptionswithIncludeDisasterRecoveryEndpoints(Boolean includeDisasterRecoveryEndpoints)Set the includeDisasterRecoveryEndpoints property: Include the DisasterRecover endpoint if true.
-
-
-
Method Detail
-
format
public PublishingProfileFormat format()
Get the format property: Name of the format. Valid values are: FileZilla3 WebDeploy -- default Ftp.- Returns:
- the format value.
-
withFormat
public CsmPublishingProfileOptions withFormat(PublishingProfileFormat format)
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
public Boolean 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.
-
-