Class DeployOperatorsOptions.Builder

  • Enclosing class:
    DeployOperatorsOptions

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

      • Builder

        public Builder()
        Instantiates a new builder.
      • Builder

        public Builder​(java.lang.String xAuthRefreshToken)
        Instantiates a new builder with required properties.
        Parameters:
        xAuthRefreshToken - the xAuthRefreshToken
    • Method Detail

      • build

        public DeployOperatorsOptions build()
        Builds a DeployOperatorsOptions.
        Returns:
        the new DeployOperatorsOptions instance
      • addNamespaces

        public DeployOperatorsOptions.Builder addNamespaces​(java.lang.String namespaces)
        Adds an namespaces to namespaces.
        Parameters:
        namespaces - the new namespaces
        Returns:
        the DeployOperatorsOptions builder
      • xAuthRefreshToken

        public DeployOperatorsOptions.Builder xAuthRefreshToken​(java.lang.String xAuthRefreshToken)
        Set the xAuthRefreshToken.
        Parameters:
        xAuthRefreshToken - the xAuthRefreshToken
        Returns:
        the DeployOperatorsOptions builder
      • clusterId

        public DeployOperatorsOptions.Builder clusterId​(java.lang.String clusterId)
        Set the clusterId.
        Parameters:
        clusterId - the clusterId
        Returns:
        the DeployOperatorsOptions builder
      • region

        public DeployOperatorsOptions.Builder region​(java.lang.String region)
        Set the region.
        Parameters:
        region - the region
        Returns:
        the DeployOperatorsOptions builder
      • namespaces

        public DeployOperatorsOptions.Builder namespaces​(java.util.List<java.lang.String> namespaces)
        Set the namespaces. Existing namespaces will be replaced.
        Parameters:
        namespaces - the namespaces
        Returns:
        the DeployOperatorsOptions builder
      • allNamespaces

        public DeployOperatorsOptions.Builder allNamespaces​(java.lang.Boolean allNamespaces)
        Set the allNamespaces.
        Parameters:
        allNamespaces - the allNamespaces
        Returns:
        the DeployOperatorsOptions builder
      • versionLocatorId

        public DeployOperatorsOptions.Builder versionLocatorId​(java.lang.String versionLocatorId)
        Set the versionLocatorId.
        Parameters:
        versionLocatorId - the versionLocatorId
        Returns:
        the DeployOperatorsOptions builder