Class SaveConfigurationParameterProperties
- java.lang.Object
-
- com.azure.resourcemanager.apimanagement.fluent.models.SaveConfigurationParameterProperties
-
public final class SaveConfigurationParameterProperties extends Object
Parameters supplied to the Save Tenant Configuration operation.
-
-
Constructor Summary
Constructors Constructor Description SaveConfigurationParameterProperties()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description String
branch()
Get the branch property: The name of the Git branch in which to commit the current configuration snapshot.Boolean
force()
Get the force property: The value if true, the current configuration database is committed to the Git repository, even if the Git repository has newer changes that would be overwritten.void
validate()
Validates the instance.SaveConfigurationParameterProperties
withBranch(String branch)
Set the branch property: The name of the Git branch in which to commit the current configuration snapshot.SaveConfigurationParameterProperties
withForce(Boolean force)
Set the force property: The value if true, the current configuration database is committed to the Git repository, even if the Git repository has newer changes that would be overwritten.
-
-
-
Method Detail
-
branch
public String branch()
Get the branch property: The name of the Git branch in which to commit the current configuration snapshot.- Returns:
- the branch value.
-
withBranch
public SaveConfigurationParameterProperties withBranch(String branch)
Set the branch property: The name of the Git branch in which to commit the current configuration snapshot.- Parameters:
branch
- the branch value to set.- Returns:
- the SaveConfigurationParameterProperties object itself.
-
force
public Boolean force()
Get the force property: The value if true, the current configuration database is committed to the Git repository, even if the Git repository has newer changes that would be overwritten.- Returns:
- the force value.
-
withForce
public SaveConfigurationParameterProperties withForce(Boolean force)
Set the force property: The value if true, the current configuration database is committed to the Git repository, even if the Git repository has newer changes that would be overwritten.- Parameters:
force
- the force value to set.- Returns:
- the SaveConfigurationParameterProperties object itself.
-
validate
public void validate()
Validates the instance.- Throws:
IllegalArgumentException
- thrown if the instance is not valid.
-
-