你当前正在访问 Microsoft Azure Global Edition 技术文档网站。 如果需要访问由世纪互联运营的 Microsoft Azure 中国技术文档网站,请访问 https://docs.azure.cn

SaveConfigurationParameter Class

  • java.lang.Object
    • com.microsoft.azure.management.apimanagement.v2019_01_01.SaveConfigurationParameter

public class SaveConfigurationParameter

Save Tenant Configuration Contract details.

Constructor Summary

Constructor Description
SaveConfigurationParameter()

Method Summary

Modifier and Type Method and Description
java.lang.String branch()

Get the name of the Git branch in which to commit the current configuration snapshot.

java.lang.Boolean force()

Get 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.

SaveConfigurationParameter withBranch(String branch)

Set the name of the Git branch in which to commit the current configuration snapshot.

SaveConfigurationParameter withForce(Boolean force)

Set 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.

Methods inherited from java.lang.Object

java.lang.Object.clone java.lang.Object.equals java.lang.Object.finalize java.lang.Object.getClass java.lang.Object.hashCode java.lang.Object.notify java.lang.Object.notifyAll java.lang.Object.toString java.lang.Object.wait java.lang.Object.wait java.lang.Object.wait

Constructor Details

SaveConfigurationParameter

public SaveConfigurationParameter()

Method Details

branch

public String branch()

Get the name of the Git branch in which to commit the current configuration snapshot.

Returns:

the branch value

force

public Boolean force()

Get 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

withBranch

public SaveConfigurationParameter withBranch(String branch)

Set the name of the Git branch in which to commit the current configuration snapshot.

Parameters:

branch - the branch value to set

Returns:

the SaveConfigurationParameter object itself.

withForce

public SaveConfigurationParameter withForce(Boolean force)

Set 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 SaveConfigurationParameter object itself.

Applies to