Class DeploymentBase.Builder
- java.lang.Object
-
- com.ibm.cloud.platform_services.global_catalog.v1.model.DeploymentBase.Builder
-
- Enclosing class:
- DeploymentBase
public static class DeploymentBase.Builder extends java.lang.ObjectBuilder.
-
-
Constructor Summary
Constructors Constructor Description Builder()Instantiates a new builder.
-
Method Summary
All Methods Instance Methods Concrete Methods Deprecated Methods Modifier and Type Method Description DeploymentBase.Builderbroker(Broker broker)Set the broker.DeploymentBasebuild()Builds a DeploymentBase.DeploymentBase.Builderlocation(java.lang.String location)Set the location.DeploymentBase.BuilderlocationUrl(java.lang.String locationUrl)Set the locationUrl.DeploymentBase.BuildermccpId(java.lang.String mccpId)Deprecated.this method is deprecated and may be removed in a future releaseDeploymentBase.BuilderoriginalLocation(java.lang.String originalLocation)Set the originalLocation.DeploymentBase.BuilderserviceCrn(java.lang.String serviceCrn)Set the serviceCrn.DeploymentBase.BuildersupportsRcMigration(java.lang.Boolean supportsRcMigration)Deprecated.this method is deprecated and may be removed in a future releaseDeploymentBase.BuildertargetCrn(java.lang.String targetCrn)Set the targetCrn.DeploymentBase.BuildertargetNetwork(java.lang.String targetNetwork)Set the targetNetwork.
-
-
-
Method Detail
-
build
public DeploymentBase build()
Builds a DeploymentBase.- Returns:
- the new DeploymentBase instance
-
location
public DeploymentBase.Builder location(java.lang.String location)
Set the location.- Parameters:
location- the location- Returns:
- the DeploymentBase builder
-
locationUrl
public DeploymentBase.Builder locationUrl(java.lang.String locationUrl)
Set the locationUrl.- Parameters:
locationUrl- the locationUrl- Returns:
- the DeploymentBase builder
-
originalLocation
public DeploymentBase.Builder originalLocation(java.lang.String originalLocation)
Set the originalLocation.- Parameters:
originalLocation- the originalLocation- Returns:
- the DeploymentBase builder
-
targetCrn
public DeploymentBase.Builder targetCrn(java.lang.String targetCrn)
Set the targetCrn.- Parameters:
targetCrn- the targetCrn- Returns:
- the DeploymentBase builder
-
serviceCrn
public DeploymentBase.Builder serviceCrn(java.lang.String serviceCrn)
Set the serviceCrn.- Parameters:
serviceCrn- the serviceCrn- Returns:
- the DeploymentBase builder
-
mccpId
@Deprecated public DeploymentBase.Builder mccpId(java.lang.String mccpId)
Deprecated.this method is deprecated and may be removed in a future releaseSet the mccpId.- Parameters:
mccpId- the mccpId- Returns:
- the DeploymentBase builder
-
broker
public DeploymentBase.Builder broker(Broker broker)
Set the broker.- Parameters:
broker- the broker- Returns:
- the DeploymentBase builder
-
supportsRcMigration
@Deprecated public DeploymentBase.Builder supportsRcMigration(java.lang.Boolean supportsRcMigration)
Deprecated.this method is deprecated and may be removed in a future releaseSet the supportsRcMigration.- Parameters:
supportsRcMigration- the supportsRcMigration- Returns:
- the DeploymentBase builder
-
targetNetwork
public DeploymentBase.Builder targetNetwork(java.lang.String targetNetwork)
Set the targetNetwork.- Parameters:
targetNetwork- the targetNetwork- Returns:
- the DeploymentBase builder
-
-