Class DeploymentBase.Builder

  • Enclosing class:
    DeploymentBase

    public static class DeploymentBase.Builder
    extends java.lang.Object
    Builder.
    • Constructor Detail

      • Builder

        public Builder()
        Instantiates a new builder.
    • 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 release
        Set 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 release
        Set 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